Question: write answer in C language Fuel Consumption =100 litres used /km traveled 1. Write a program that asks the user to input the number of

write answer in C language
write answer in C language Fuel Consumption =100 litres used /km traveled

Fuel Consumption =100 litres used /km traveled 1. Write a program that asks the user to input the number of litres of fuel used and the corresponding distance traveled in kms. Write your program to calculate fuel consumption in a user-defined function. Use the fuel consumption result to display the fuel consumption category the user's car fits into. The fuel consumption categories are as follows: Fuel Consumption Less Than 5 [L/100km] - Very Fuel Efficient Fuel Consumption Between 5 and 10[L/100km] - Reasonable Fuel Consumption Fuel Consumption over 10[L/10km] - Not Fuel Efficient 2. Comment your code appropriately

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!