Alice Community

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

Ygzaw 12-26-2013 01:10 AM

Assignment 5 (Asking age)
 
This is similar to the lab exercise we did. The program is made to ask for an input from the user. Then depending on input the program decides which direction to go.
For instance in this assignment, a bouncer asks age of patron outside a club. If the age entered is less than 21 the bouncer will refuse the patron. But if the age is greater than or equal 21 he/she will be welcomed.


All times are GMT -5. The time now is 08:05 PM.

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