Hello, I have this project due today for class and I cant seem to get it compiled without errors, it gives me one error and its not specific enough for me to fix it on my own, so I am asking for help here. Here is the code, and what its "supposed" to do.

"A liter is 0.264179 gallons. Write a program that will read in the number of liters of gasoline consumed by the user's car and the number of miles traveled by the car, and will then output the number of miles per gallon the car delivered. Your program should allow the user to repeat this calculation as often as the user wishes. Define a function to compute the number of miles per gallon. Your program should use a globally defines constant for the number of liters per gallon."

And here is my code;

Code:
//Assignment 1
//Gas
//september-27-05
//


#include <iostream>
using namespace std;


int main()
{
int liters;
double distance;
double gallon = (0.264179*liters);

do
{
cout << "Please input how many liters of gasoline is in your vehicle";
cin >> liters;
cout << "Please input the distance in miles you traveled in your vehicle.";
cin >> distance;

cout << "Your vehicle's MPG is:" << (distance/liters) << endl;


}while(liters >0);

return 0;

}
Thanks in advance to anyone who can help.

-Brent