Professional Documents
Culture Documents
Abbottabad
Object Oriented Programming Assignment Number 1
Instructor: Mr. Fuzel Jamil Due Date: 15 march 2016
Design a Coffee Vending Machine application that displays the list of available Coffee drinks listed by
size and price as shown below.
The Great Coffe Vending Machine
Choice: Size: Cost:
Latte Small 100 rs
Latte Medium 150 rs
Latte Large 200 rs
Cappuccino Small 150 rs
Cappuccino Medium 200 rs
Cappuccino Large 250 rs
Espresso Small 200 rs
Espresso Medium 250 rs
Espresso Large 300 rs
Please provide a choice and select size accordingly:
The user should then provide a choice whereby another prompt is to be made asking for required order
size. If a wrong choice is made, the menu should be redisplayed. (Example shown below)