Before a long drive I want to know if I can make it. Ask mehow much fuel is in the tank, how far the car goes on atank, and how far I am driving, and tell me how much isleft over.Write your requirements list before you write any code. What goes in, what gets worked out, what comes out, and every question the brief did not answer.
Fuel in the tank (litres): 32 [Enter]Kilometres per litre: 13 [Enter]Distance to drive: 380 [Enter]
Range: 416 kmLeft over after the trip: 36 kmTest a trip that does not fit. The output should still make sense.
Your requirements list and your program folder, named cc-fuel-range.