Question: C++ Program ASSIGNMENT 1- Fix the code This code has errors. Do not delete lines, Do not add lines. Only fix lines if needed.//add comment

C++C++ Program ASSIGNMENT 1- Fix the code This code has errors. Do

Program ASSIGNMENT 1- Fix the code This code has errors. Do not delete lines, Do not add lines. Only fix lines if needed.//add comment to end of ine describing fix. Compile good code, Put Good code in MS Word document with Screen print of good output. Note: MAC users may have to comment out a few lines, as indicated. 1) # iostream using namespace std; nt main () // start program / Declare and Initialize Variables int height 0; int feet 0 Int inches 0; // Prompt for height cout>> "Enter your height in inches:' cin >> Height; // Calculate Height in feet and inches height / 12 feet; inches-height % 12; /Print out height in feet and inches coutt inches >> "inches" ; system("pause"); // Mac user comment out this line by placing // in front of it. // PC users -Hint replace the "with the ones on your computer-coping code cause error, so just type it. return 0; // end of program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!