Thread: Help with loops
View Single Post
Help with loops
Status: Offline
Posts: 16
Join Date: Dec 2017
Default Help with loops - 12-18-2017, 10:29 PM

Frustrated with the latest assignment. I feel like I'm missing something so simple. The goal is ask the user for a number, use the number to spin the object around that many times - then ask user if they want to run again.

I'm asking them for a yes/no answer. My answer variable is in my loop and this is where the problem is. If they say yes, I'm hopping over to my iceskater.method which asks how many and does the turning action. I kept this as a separate method so I could call it if user answers yes. Works mostly fine whether answer is yes/no but if answer is yes, then no, the loop returns it back to the iceskater.method. What am I missing?
Attached Files
File Type: a2w Lab2-JE.a2w (614.0 KB, 2 views)
Reply With Quote