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"© BrainMass Inc. brainmass.com December 20, 2018, 12:07 am ad1c9bdddf
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