Program executes correctly when the programmers I work with run it through their compliers. I'm using miracle c complier for class and I cannot locate the problem that causes my problem.
At the end of this code it should say: "press enter to exit"
Instead it states: "press enter to exit" and then also displays "please enter the amount of the sale"
The problem seems to have been with your getch() function. Apart from that I have also remove certain ...
There were some unresolved errors in the code which were corrected