You are required to write a java gui application for the following:
A chocolate vending machine sells upto 4 types of chocolate bar which maybe of different prices(all multiples of 5pence). The user selects a particular type of chocolate and makes appropriate payment.(coins may be of 2,1,50p,20p,10p,5p). This machine does not give any change. The user may cancel the transaction and any coins entered are returned.
The machine stores upto 1`0 bars of each type in separate hoppers and the machine can store upto 20 types of each denomination. Suitable messages are output if a chosen chocolate is out of stock or if there is no further coins of a given denomination.
Also there is a basic uml diagram for the problem below which also needs to be updated accordingly.
choc hopper coin hopper
This is the general structure of the class. I couldnt put up the basic uml diagram but i would definitely like the completed uml diagram along with the working code.
2) UML Diagram modified and finalised to project the complete work.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).