各位高手这能缩小一小吗!
#include <stdio.h>#define PI 3.0141592654
main()
{
double mianji(),zhouchang();
double s,c,r;
scanf("%lf",&r);
s=mianji(r);
c=zhouchang(r);
printf("mianji=%f",s);
printf("zhouchang=%f\n",c);
}
double mianji (double R)
{
double s;
s=PI*R*R;
return(s);
}
double zhouchang(double R)
{
double c;
c=2.0*PI*R;
return(c);
}