算一下路程和速度...
#include <iostream>
#include <cstdio>
using namespace std;
const double p=3.1415927;
double dia,tim,dis,sped;
int rev;
int main()
{
int k=;
while(cin>>dia>>rev>>tim,rev)
{
dia/=*;
dis=dia*p*rev;
sped=dis/tim**;
printf("Trip #%d: %.2lf %.2lf\n",k++,dis,sped);
}
}