解题思路:
注意事项:
参考代码:
#include <iostream> #include<cstdio> #include<cmath> using namespace std; const float a=3.1415; int main() { int n; cin>>n; double r; while(n--) { cin>>r; printf("%.6f\n",a*r*r); } // cout << "Hello world!" << endl; return 0; }
0.0分
0 人评分
【数组的距离】 (C语言代码)浏览:728 |
printf基础练习2 (C语言代码)浏览:941 |
校门外的树 (C语言代码)浏览:956 |
用筛法求之N内的素数。 (C语言代码)浏览:664 |
幸运数 (C++代码)浏览:1258 |
关于C语言变量位置的问题浏览:272 |
IP判断 (C语言代码)浏览:533 |
数列排序 (C语言代码)浏览:606 |
简单的a+b (C语言代码)浏览:635 |
汽水瓶 (C语言代码)浏览:530 |