Could someone give me a clue here?? I'm really stuck... http://imageshack.us/photo/my-images/4/eqw0.jpg/
Line #9: looks like you have some tests with no variable on the left hand side and > 5 and <= 15... should probably be: and number > 5 and number <= 15 ...
hmmm.. I understand that I needed to insert the number <= 15... but I'm not getting the variable on the LHS bit...
Look at lines 5 and 7. Since the '>' tests for inequality (something on the left bigger than something on the right), it requires an argument on the left and on the right. So, you need to specify what should be on the left of the 'relational operator' in order to be able to evaluate the expression. You were probably thinking to just write: "number bigger than and number less than and...' but with programming languages you need to specify " number bigger than and number less than..."
I think it's at the else statement. line 9. You do not put boolean checks with a else statement.. only elseif's
Join our real-time social learning platform and learn together with your friends!