#include<iostream>
using namespace std;
const RATE = 0.264179; //sheng to galon
int main()
{
double vol_she, distance, vol_gal,cost_per_mile;
char ans;
do{
cout << "Please input number of petrol costed \n";
cin>>vol_she;
cout << "Please input the distance \n";
cin >> distance;
vol_gal = vol_she * RATE;
cost_per_mile = distance / vol_gal ;
cout << "The bus cost " <<cost_per_mile
<<" galon potetol every mile\n";
cout<< "Do you want to continue ? (Y?N)\n";
cin >> ans;
cout << endl;
}while(ans=='Y'||ans=='y');
return 0;
}