Quote:
Originally Posted by labtek9
If I'm correct you want the user to say how high the astronaut is going to jump, yes? if so, you would put astronaut move up (ask user for a number) amount of meters and then adjust speed its not difficult, then to make him spin astronaut spin (ask user for a number) amount of rotations, then make the astronaut come back to the ground asking the user to input the first number used again.
|
Yes, but if the user enters a number any higher than 5 meters, the astronaut flies off the page. Is there an If/Else I need to use? I was asked to create a new variable. The loop is not difficult is trying to figure out how to get the user not to enter anything higher than 5, or make it where if it's higher than 5, perhaps it asks the user for a lower number. uggh
thanks
Hazel