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
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
Computer Science,
4 months ago
English,
4 months ago
Math,
4 months ago
Computer Science,
8 months ago
Math,
8 months ago
English,
1 year ago
English,
1 year ago
Math,
1 year ago