Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Assign 5
Old
spierce66
Junior Member
 
Status: Offline
Posts: 11
Join Date: Sep 2016
Location: dallas texas
Smile Assign 5 - 10-20-2016, 03:21 AM

Hello - It was fun and easy creating the if else statement. It was a good exercise after Lab1 made me breathe a little bit hehehe. All I did was nested If and Else statements to each other so that I can get the bouncer say the appropriate response to the given age. I have not got my scores yet but I nested 2 on one If else statement and got the results I wanted. First I did the results of older thn nest it on 21 21 itself then nested another one if its younger. And just play the say code in each of them. I hope I get a good grade.
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.