Assignment 5 (Asking age) -
12-26-2013, 12:10 AM
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.
|