Welcome to the Sears mileage calculator.
This program will calculate the miles per gallon for you for three tanks of gas
after you have entered the gallons used and miles driven.
Enter the number of gallons used for tank #1: Enter the number of miles driven : *** The miles per gallon for this tank is -0.0
Enter the number of gallons used for tank #2: Enter the number of miles driven : *** The miles per gallon for this tank is -15004110160317348180677793686854466647927617640153263612468438503451927730460533603930994061953070447625533547320288847737676004480770985966305168827234220852616565018351236205008436637879884404922226790016682926735594821659370141152328458087304432175605495007656542208.0
Enter the number of gallons used for tank #3: Enter the number of miles driven : *** The miles per gallon for this tank is -5232114697035676645277796100278207710769333367278102117820178745102337587505844383750892773520693967562921515378428843660781903089317684919438401094161737495922549826746934641457064699094389412563271984356173263890881930146333230588540155647873614484858053401420146671616.0
Your overall average miles per gallon for three tanks is 1.0
Thanks for using the program