Using the declared data types below, write a c++ program in visual studio 2010 e
ID: 3637739 • Letter: U
Question
Using the declared data types below, write a c++ program in visual studio 2010 express version that interactively accepts the data below in an array of 5 structures. After the data has been entered, the program should create a report listing each car number and the car's miles per gallon. at the end of the report, be sure to include the avg. miles per gallon for the entire fleet of cars.
"Report Listing Car Number & Car's MPG Below":
car numbers: miles driven: Gallons Used
25, 1450 :62
36, 3240 136
44, 1792, 76
52, 2360 105
68 2114 67
Explanation / Answer
Hi, my friend here is the program u want if u need more help message me PLEASE RATE #include using namespace std; struct cars { int car_num; double miles_driv; double gallons; }; void main() { int amount; cars *data; double avg; int sum=0; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.