| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
他垂头丧气的说:"多好的程序啊!" 就是过不了!!!!#include <stdio.h>
void main(){
int i=1;
float p=3.1415927;
long b,c;
float a,d,e;
scanf ("%f %ld %ld",&a,&b,&c);
while (b!=0){
d=a*b*p/5280/12;
e=a*b/c*p*3600/5280/12;
printf ("Trip #%d: %.2f %.2f\n",i,d,e);
i++;
scanf ("%f %ld %ld",&a,&b,&c);
}
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator