Vending Machine

 Create an application which takes money and dispenses various types of candy or other item. The user enters a number and letter sequence, like D9, and have it return an instance of “Item” which of the proper type. Example when they press D9 it will return a type of candy bar which is an instance of Mr GoodBar.

Tags :
Your rating: None Average: 5 (2 votes)