Height Calculator Program

Write a program that will allow the user to enter their height (feet and inches). The program should then tell the user how many total inches tall they are. Example below (red values are entered by user):

Enter your height:

Feet: 5

Inches: 11

Total Inches = 71

After you get the program to work like the one above, try to add a centimeter conversion as well. To find centimeters, multiply total inches by 2.54. (Ex: 71 total inches = 180.34cm).

Finally, convert the centimeters to meters by dividing by 100. (180.34cm = 1.8043meters).

When working, your program should look like this:

Enter your height:

Feet: 5

Inches: 11

Total Inches = 71
Total Centimeters = 180.34
Total Meters = 1.8034

 

Save as Height when complete.