A common place to buy candy is from a machine. A new candy machine has been purchased
Question:
A common place to buy candy is from a machine. A new candy machine has been purchased for the gym , but it is not working properly. The machine sells candies, chips, gum, and cookies. You have been asked to create a program for this candy machine so that it can be put into operation. The program should do the following:
1. Show the customer the different products sold by the candy machine. 2. Let the customer make the selection.
3. Show the customer the cost of the item selected.
4. Accept money from the customer.
5. Release the item.
Input The item selection and the cost of the item. Output The selected item. Note: your program should implement all the concept of Object-Oriented Programming, this should be done using c#
Financial and Managerial Accounting
ISBN: 978-1285078571
12th edition
Authors: Carl S. Warren, James M. Reeve, Jonathan Duchac