Question: Write a program that inputs a value and type of conversion. The program should then display the output after conversion. The program should include the
Write a program that inputs a value and type of conversion. The program should then display the output after conversion. The program should include the following conversions:
- 1cm = .394 inches
- 1 Liter = .264 gallons
- 1 kilometer = .622 miles
- 1 kilogram = 2.2 pounds
Make sure that the program accepts only valid choices for the type of conversion.
Step by Step Solution
3.34 Rating (145 Votes )
There are 3 Steps involved in it
Solution include include using namespace std int main float value char conversion cout enter the v... View full answer
Get step-by-step solutions from verified subject matter experts
