Alice Community

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

rlpenn 11-02-2013 08:26 PM

Lab 2 -- Get Loopy
 
My ghost spins as many times as the user asks it to.

I solved the "yes", "Yes", "YES" issue by using the "While" condition as my loop. I set the initial "continue" variable to "yes" and then at the end had the user enter if they'd like it to run again. The "While" condition ran again if the user entered "yes", "Yes" or "YES".

Like magic!


All times are GMT -5. The time now is 01:40 AM.

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