Question: In C# write a MPG car mileage program Add some data input from the user for his or her name Add some data input from

In C# write a MPG car mileage program Add some data input from the user for his or her name Add some data input from the user for the destination of the trip Report back to the user with an output message similar.to the following (don't copy my output statements exactly make up your own) . Add a results message categorizing the mileage in 1 of 3 categories Sample Output: Jason Lee, your trip to Atlanta was very economical. . You traveled xxx miles to reach vour destination, You consumed yx. gallons of fuel. . You achieved a fuel efficiency rating of zzz miles per gallon! . With an MPG rating of over 30.0, this is considered very good. Here is a second example Jason Lee, your trip to Atlanta was economical. .You traveled xxx miles to reach your destination using only yx.x gallons of fuel. .Your fuel efficiency rating on this trip was zzz mpg . With an MPG rating approaching 30.0, this is considered acceptable And finally: Jason Lee, your trip to Atlanta was not very economical. . You traveled xxx miles to reach your destination, but your vehicle used yyy gallons of fuel. . This is only zzz miles per gallon. . With an MPG rating under 20.0, this is a cause for concern
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
