new to programming. can't get this if else statement to work properly. please help!

Printable View