Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   Lab 2 (http://www.alice.org/community/showthread.php?t=11243)

Petit Suisse 07-26-2015 11:39 AM

Lab 2
 
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.


All times are GMT -5. The time now is 02:25 PM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.