The last printf statement is suppose to show the overall average miles per gallon.
I am unsure about the for loop. I understand how to write the code for the number of gallons used and miles driven, but unsure of how to get the overall average to display.
I know that it is total miles / total gallons, but writing the code is unclear to me.