View Single Post
Returning Values from an If statement
Old
rondoran
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2011
Location: Werribee
Wink Returning Values from an If statement - 10-13-2011, 04:24 AM

I have an assignment that requires me to return a value if it meets certain conditions,
The conditions are as follows
If number between 1 and 16
Object to say the number and add some text
else
If number between 16 and 18
Object to say namber and add some text

and it goes on for 7 statements
The problems arises is that I can return the 1st number but if the value is greater than the 1st number nothing is returned so my nested If is not functioning.
Any help appreciated
Cheers
Ron
   
Reply With Quote