Question: Write a java program asks the user to input:
- The number of gallons of gas in the tank
- The price of gas per gallon
- The fuel efficiency in miles per gallon
Then print the cost per 100 miles and how far the car can go with the gas in the tank.
You need to prepare a java program print the cost.