Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Assign5 Post - Nightclub
Old
eug3n10
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jul 2013
Location: Irving, TX
Default Assign5 Post - Nightclub - 07-24-2013, 09:02 PM

I completed this assignment with little issues. I was able to utilize a method asking for the user input of the age and used an if/else statement nested within another if/else statement. The initial if looked as to whether the value was equal to 21 if not then it looked as to whether it was under 21. If it was then it would state that the person was too young, if else then the person was obviously older than 21. I am getting a little more creative with my scenes; it took me longer to look for all of the appropriate objects than it did to set up the code. It seems to be getting fun the more I understand it, I hope this is the case for everyone else.
   
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.