PDA

View Full Version : Lab 2


Petit Suisse
07-26-2015, 12:39 PM
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.