Question: Create a class design for a program that simulates a vending machine. Products can be purchased by inserting the correct number of coins into the

Create a class design for a program that simulates a vending machine. Products can be purchased by inserting the correct number of coins into the machine. A user selects a product from a list of available products, adds coins, and either gets the product or gets the coins returned if insufficient money was supplied or if the product is sold out. Products can be restocked and money removed by an operator.

Document your design using either (your choice) CRC cards or UML.

Your CRC cards or UML must be submitted electronically. If you scan them or take pictures, please ensure that the images are of sufficient quality (clear, reasonable contrast, etc.) to be easily readable.

PLEASE NO ABOVE LEVEL CODE

USE SYSTEM.PRINTLN

INCLUDE UML FOR ME TO UNDERSTAND IT FULLY

COMMENTS NEEDED

THIS DOES NEED TO BE FANCY OR HAVE SHORTCUTS

BORING AND CONCISE IS PERFECT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!