简单的数学计算,水题!
#include<iostream>
using namespace std;
const double P = 3.1415927;
int main()
{
double R,T;
long n,i=0;
while(cin>>R>>n>>T)
{
i++;
if(n==0)
break;
cout<<"Trip #"<<i<<": ";
printf("%.2lf %.2lf/n",R/(5280.0*12.0)*P*n,(R/(5280.0*12.0)*P*n*3600)/T);
}
return 0;
}