Syntax error is giving me headache


#1


#3

You have closed the else if condition too soon! That is, after the if condition, in line 16, you closed the if else statement!