Computer Science, asked by shiahi4417, 8 months ago

Write a program to compute the average fuel consumption of a car. Allow the user to input kilometers travelled and litres consumed. average = km/litre

Answers

Answered by ViperBoii
0

Answer:

START

Average ⇽ 0

 OUTPUT " Enter kilometers travelled and litres consumed"

 INPUT km, litres

Average ⇽ km/litre

 OUTPUT " The average fuel consumption of your car is", Average

END

Explanation:

This was how I was taught to do these types of questions, so forgive me if this doesn't fit with your syllubus.

Hope this helps!! (*^▽^*)

Similar questions
Math, 1 year ago