2.15 HW: Driving Costs
Driving can be expensive. Write a program that takes the car's miles per gallon and the cost of gas per gallon as input, and outputs the cost of gas for 10 miles, 50 miles, and 400 miles.
Example:
If the input is:
20.0
3.1599
Then the output is:
1.579950 7.899750 63.198000