Question: The code needs to be in c++ Mr. Arthur Einstein, your college physics teacher, wants a program for English-to-Metric conversions. The program should be able
The code needs to be in c++
Mr. Arthur Einstein, your college physics teacher, wants a program for English-to-Metric conversions. The program should be able to convert from kilometers to miles, kilograms to pounds, and liters to quarts. The program should first determine the type of conversion desired. To do this, the user will enter a letter indicating the type of measurement: pounds (P), miles (M), and quarts (Q). After doing this, the program should proceed to read the appropriate metric value and convert it to the correct imperial value. Use the following conversion factors:
1 kilometer = 0.621388 miles
1 kilogram = 2.2046 pounds
1 liter = 0.877193 quarts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
