Thread: Lab 2
View Single Post
Status: Offline
Posts: 23
Join Date: Aug 2016
Location: Dallas TX
Default 10-14-2016, 12:06 AM

Yes, this one is challenging!
I have my character spinning the correct number of times, but I can't get the part where I ask the user 'do you want the object to spin again? question, and if they say 'yes', make the loop happen.

I'm using a string type variable for my 'yes or no' question.
I'm also using the 'if' statement to say 'if yes or no == yes', then repeat the spin process.

It's not working at all, when I answer 'yes'.

I've also tried the 'while' statement to see if 'while "true", make the object spin again' would work, but it did not..

Back to the drawing board, and more reading.. this is not as simple as I thought it would be!
Reply With Quote