Write a unit conversion program using the conversion factors of the table shown
below. Ask the users from which unit they want to convert (ou, gal, oz, lb, in,
ft, mi) and which unit they want to convert to (ml, l, g, kg, mm, cm, m, km).
English Metric
Reject incompatible conversions (such as gal → km). Ask for the value to be converted;
then display the result:
Convert from? gal
Convert to? l
Value? 2.5
2.5 gallon = 9.462 liter
Note: Where applicable define your variables as constants and use proper styling
conventions appropriate to constant values.