Thread: Lab 2
View Single Post
Lab 2
Petit Suisse
Status: Offline
Posts: 46
Join Date: Jul 2015
Default Lab 2 - 07-26-2015, 11:39 AM

Initially I thought I was supposed to use a while in step 1 and the whole thing kept repeating itself because something was always true.

Then when I did yes's I initially only wanted the spin part to repeat with the already entered number, but this too meant an infinite loop. I think I could have solved it with a new variable, but luckily when I reread the assignment it says to repeat the program, and that did what it was meant to.

I enjoyed this.

Last edited by Petit Suisse; 07-26-2015 at 11:40 AM. Reason: typos
Reply With Quote