Write My Paper Button

WhatsApp Widget

I have this c++ program that i have to create but i am stuck on it….

Homework Help Question & Answers

I have this c++ program that i have to create but i am stuck on it….

I have this c++ program that i have to create but i am stuck on it.

Write a height conversion program that shall allow user to convert from feet and inches to meters (option 1) and vice versa (option 2). User shall be able to specify the type of conversion (a menu of two options). Display an error message if an invalid option is specified. Otherwise, the program would read in a length in feet and inches (two separate integer values like 5 and 6) and will output the equivalent length in meters (a double value) or read in a length in meters (a double value) and will output the equivalent length in feet and inches (two separate integer values and inches shall be between 0 and 11). There are 0.3048 meters in a foot, and 12 inches in a foot. For example, if 5 feet and 6 inches are entered for option 1 then the program should output 1.68 meters. On the other hand, if a value of 1.68 meters is entered for option 2 then the program should output 5 feet and 6 inches. You might need to perform casting (type conversion) and possibly rounding for this program to work properly
0 0
Add a comment
Don`t copy text!
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
???? Hi, how can I help?