Write a program to design Vending Machine using Java
Features
- Define the Vending Machine requirements
- Display welcome message
- Accepts coins of 1,5,10,25
- Allow user to select products Water (40), Crisp (65), Chocolate (75)
- Allow user to take refund by cancelling the request.
- Return selected product and remaining change if any.
- Allow reset operation for vending machine supplier. Handle relevant exceptions and create reporting for the tests
Identities of our problem Vending Machine Product Coin Calculator
How these identities will interact with each other’s.