Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Lab 2
Old
Petit Suisse
Member
 
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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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