Question: 1. Write a program that prompts the user for their name and then will compute a car's miles per gallon given input of miles driven
1. Write a program that prompts the user for their name and then will compute a car's miles per gallon given input of miles driven and gallons of gas used. It should also convert those given numbers into metric and show kilometers driven, liters used, and kilometers per liter. All with well formatted output.
2. What is the algorithm/pseudocode for Program the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
