Question: Write a program that prompts a user for a number of vehicles in a fleet and a fuel consumption for each vehicle. Than program calculates
Write a program that prompts a user for a number of vehicles in a fleet and a fuel consumption for each vehicle. Than program calculates and displays the average gasoline consumption for a fleet of vehicles
Input: Number of Vehicles
Output: Average of all vehicles gas consumption
Output:
ClUsersownersourcereposGradingxDebugGrading exe
Fleet Average Gas Consumption
Enter a number of vehicles:
What is millesgallon consumption for a vehicle number
that is millesgallon consumption for a vehicle number
What is millesgallon consumption for a vehicle number
The average fuel consumption per vehicle is miles per gallon
Author: Stevan Stankovic
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
