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

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!