杭电2002(我们没有什么不同)

#include<stdio.h>
#include<math.h>
#define PI 3.1415927
int main()
{
double v,r;
while(scanf("%lf",&r)!=EOF)
{
v=r*r*r*PI*4/3;
printf("%.3lf\n",v);
}

}

posted on 2015-04-20 21:11  Randy77  阅读(134)  评论(0编辑  收藏  举报

导航