Question: Write a C++ program which gets two double numbers from the user. These two numbers are height in terms of feet and inches. You are
Write a C++ program which gets two double numbers from the user. These two numbers are height in terms of feet and inches. You are asked to write a program to convert the height into meters (stored as a double number). a. The program should print a meaningful phrase for each input, and the result. i. "Enter the height in feet" ii. "Enter the height in inches" iii. "Height is 1.76 meters" b. Modify your program to convert the height into centimeters as well.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
