Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

Could someone give me a clue here?? I'm really stuck... http://imageshack.us/photo/my-images/4/eqw0.jpg/

OpenStudy (anonymous):

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 ...

OpenStudy (anonymous):

hmmm.. I understand that I needed to insert the number <= 15... but I'm not getting the variable on the LHS bit...

OpenStudy (anonymous):

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..."

OpenStudy (anonymous):

I think it's at the else statement. line 9. You do not put boolean checks with a else statement.. only elseif's

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
22 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!