结构推理 已知一个圆形的半径为R=6cm,求圆形的面积S,用C程序编写出来。
【正确答案】#define PI 3.14 #include main() { int s,r ; r=6 ; s=PI*pow(r,2) ; printf(“Square=/%d”,s); }
【答案解析】