Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Making Decisions Assignments
Old
emaluotoga
Junior Member
 
Status: Offline
Posts: 8
Join Date: Jul 2014
Location: Irving, TX
Default Making Decisions Assignments - 07-19-2014, 02:01 PM

Had to use nested if/else statements since there were three possible options (responses). It worked fine but would be interested to know if there was a better way to do this. Assignment: Ask user for a number and allow 3 or more responses / actions based on number.
   
Reply With Quote
Assignment5
Old
Krunch
Junior Member
 
Status: Offline
Posts: 8
Join Date: Jul 2014
Location: Lewisville, TX
Default Assignment5 - 07-23-2014, 02:49 AM

This was much easier than I had thought it would be considering I had such a hard time w/Lab1,,, very proud of Me this time around
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.