下面程序主要功能是计算圆形的面积,并输出其面积,在下划线处填上正确的语句。
#include <stdio.h>
void main()
{
float PI=3.14159;
int s,r=5;
s=r*r*PI;
printf("s=%d\n",s);
}
下面程序主要功能是计算圆形的面积,并输出其面积,在下划线处填上正确的语句。
#include <stdio.h>
void main()
{
float PI=3.14159;
int s,r=5;
s=r*r*PI;
printf("s=%d\n",s);
}