Can\'t figure out what\'s wrong with the code. Any help would be great
Here are the pictures of the code in full.
This is an assignment of mine, and here is th