Need help to create a program in C++

Hi

I have a program to create for my coursework and need help does anyone have a program already done ? this is what it says :

As at present, the member of staff (the cashier) will enter the purchases, and the system will calculate the total cost. This part of the system currently operates satisfactorily, and no changes (!) are envisaged. The total cost will be passed to the new machine, and the amount tendered by the customer will also be entered.

The system will then calculate the amount of change due, and will provide the hardware interface with a list of coin denominations and the number of each to be dispensed.

This constitutes the first part of the exercise. However, management has just realized that the coin dispensing machines will need to be replenished with coins from time to time, and would like the system to be able to keep track of the numbers of coins of different denominations, and issue warnings when the number of coins of any given denomination falls below a certain value. You should therefore include facilities to provide such provision in your solution.

At the present time, the hardware is unable to dispense notes, but future developments may make it possible, and your solution should be such as to cope with this should theses improvements occur. You should therefore indicate what changes would be necessary to the software in the event that such hardware upgrading takes place.
We aren't here to do your homework, if you provide code showing you are attempting the assignment we will gladly help with any issues that we see in your code.

Otherwise please refrain from posting homework problems and asking us to help you cheat.
When is it due?
At the very least you have some if not all of the requirements.
You should start your documentation. The docs help especially in terms of designing and coding the logic. Jumping straight into the coding will only set you back later.

Example:
Member of staff or employee is a class (its been while) but the cashier could be the instance of the employee class.

You have your objects all listed. How do they relate and how they use one another?

I just read the entire post and that thing is going to very tricky w/o documentation. Also, make your notes in the code. Relaying on knowing what you named a class, variable, or function will waste time as will remembering what it does.
Last edited on
Topic archived. No new replies allowed.