Calculate car filled up times
- by Ivan
Here is the question:
The driving distance between Perth and Adelaide is 1996 miles.
On the average, the fuel consumption of a 2.0 litre 4 cylinder car is 8 litres per 100 kilometres.
The fuel tank capacity of such a car is 60 litres.
Design and implement a JAVA program that prompts for the fuel consumption and fuel tank capacity of the…