|
-
October 21st, 2013, 07:04 PM
#4
Re: If else statement displaying both options.
 Originally Posted by GCDEF
You either need else without the condition, or add an if after the else. By itself (x >= 25) doesn't do anything. Further, since you have a semi-colon after your (x >=25) statement, the big number part isn't even part of the condition. It will always output.
Thanks but now it only displays "That is a small number.". What am I doing wrong?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|