Question: c++ Program ASSIGNMENT 2 Write all the code Write a program from scratch, that asks a person how tall they are. How many feet and
c++
Program ASSIGNMENT 2 Write all the code
Write a program from scratch, that asks a person how tall they are.
How many feet and how many inches are you
How tall are you:
Feet: 5 they enter 5
Inches: 4 they enter 4
Write code that calculates how many total inches high they are. ( Hint: there 12 inches to a foot )
Output the results.
Example output: You are 64 inches high
Program ASSIGNMENT 3 Write all the code
Write a program from scratch given these declarations and assignments: double a = 18, b = 6, c = 3, and that calculates the answers for:
cout << a + b / c;
cout << ( a + b ) / c;
cout << a + ( b / c );
Explain the difference or similarity in the answers.
Output the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
