[solved]-Write C Program Prompt User Input Length Inches Two Distances Entered Convert Number Inche Q39075186
Write a c++ program that will prompt a user to inputthe length in inches of two distances. Once entered, convert thenumber of inches of the two distances to feet (include theremaining inches). Output each distance entered, the total of thetwo distances and the conversion in feet / inches.
After outputting the distance in feet and inches, ifthe distance is greater than 3 feet, convert the distance to meters(display the remaining distance in centimeters). If totaldistance is not greater than 3 feet, convert the total inches toinches in miles. Output the title “Metric Conversion of ???inches”, where “???” is the total inches. Format the numbers withone decimal place. Right align the numbers with a column width of10 and left align the labels “m” and “cm”, with a column with of 5.Leaving a space between the number and label (ex: 2.0 m).
Expert Answer
Answer to Write a c++ program that will prompt a user to input the length in inches of two distances. Once entered, convert the nu… . . .
OR

