Convertor Reverse Meter

Write a program that inputs a value and type of conversion. The program should then output the value after conversion. The program should include the following conversions: Make sure that program accpts only valid choices for type of conversion to perform.

  1. 1 inch = 2.54 centimeters
  2. 1 gallon = 3.785 liters
  3. 1 mile = 1.609 kilometers
  4. 1 pound = .4534 kilograms