You are required to write a C++ 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.
Also i dont want the program to be too advanced it should be a basic C++ program using inheritance fundamentals.
Once again basic program and inheritance is a must. You can use any prgram you like but i would be accessing those file with Visual studio.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
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).