C語言求圓的面積

#include<stdio.h> #include<math.h> int main() {     float r;     float N=3.14;     float s;     //N*r*r;該行必須在輸入r值之後     printf("請輸入該圓的半徑:");     scanf("%f",&r);         s=N*r*r;     printf("%.7f",s);/
相關文章
相關標籤/搜索