View Single Post
Getting Loo-paay response
Junior Member
Status: Offline
Posts: 12
Join Date: Jul 2013
Location: Irving, TX
Default Getting Loo-paay response - 07-24-2013, 11:04 PM


Are you having trouble with the variable used to make the object spin or with the variable used to decide on whether to run the code again?

In order to have mine work I created a method for the jump/spin in which according to the user input the object spun a certain number of revolutions using a loop.

Once this was completed the program then asked the user whether he/she wanted to run the method again. Depending on that response the while statement would either trigger an execution of the method again or end. Let me know if you need clarification.
Reply With Quote