Explore BrainMass
Share

Compiling Program Miracle Compiler

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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
https://brainmass.com/computer-science/software-development/compiling-program-miracle-compiler-141542

Attachments

Solution Preview

The problem seems to have been with your getch() function. Apart from that I have also remove certain ...

Solution Summary

There were some unresolved errors in the code which were corrected

$2.19