Welcome to Lab 3

By the end of this Lab you should be able to do the following.

Lab Topics

The Programmers Bar and Grill does not have their happy hour on Friday afternoons like everyone else. We have them on Monday mornings, probably because way back when computer people worked all weekend and only got off work at 8 am on Monday morning when everyone else came to work. Regardless, because we are programmer we need a drink dispensing program. After a few short minutes of totally unscientific research we determined that the following tables applied to all the patrons of the PB&G.

Drink Matrix
Under 19 Male Coke
Female Pepsi
19 to 29 Male Beer
Female Cooler
30 to 39 Male Vodka Martini
Female Gin Martini
40 to 49 Male Jack Daniels
Female White Wine
50 and Over Male Scotch
Female Liquier

Programming Problem

Write a drink dispensing program for the Programmers Bar and Grill that dispenses drinks according to the table above.