Problem Description and Given Info
Write program that will collect; as input from the user; distance in Feet and Inches; and then compute and display the equivalent distance in Meters Feet will be inputted as an int Inches will be inputted as double: Meters will be computed and outputted as double
Here are some examples of what the user should see when the program runs_
Example
Enter Feet Enter Inches 7 . 54 33 and 7.54" 18 10.25 Meters
Example 2
Enter Feet Enter Inches 328 and
328
13 100 . 00 Meters
For the given inputs, make sure that your program output looks exactly like the examples above (including spelling; capitalization; punctuation; spaces, and decimal points): Hints and Helpful Info
A Meter is 39.37 Inches A Foot is 12 Inches First convert Feet and nches to all Inches_ then convert the tota inches t0 Meters A single quote mark is common notation for value specified in Feet. For example 3 Feet is often expressed as 3 A double quote mark is common notation for a value specified in Inches. For example 5 Inches is often expressed as 7.5" You may need to use an escape sequence to include the double quote mark in your output You may need to cast or convert some values from one data type to another Remember that you can use printf to print out values with specified number of decima places:
Need Help?