Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Making Decisions Assignments
Junior Member
Status: Offline
Posts: 8
Join Date: Jul 2014
Location: Irving, TX
Default Making Decisions Assignments - 07-19-2014, 01: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

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.