Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   Assign 5 (http://www.alice.org/community/showthread.php?t=11608)

spierce66 10-20-2016 02:21 AM

Assign 5
 
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.


All times are GMT -5. The time now is 01:02 AM.

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