100 分 c++ 可拿
2024-10-19 17:37:41
发布于:广东
1阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main () {
double r;
cin >> r;
double z,m,zhi;
double p = 3.14159;
zhi = r * 2;
z = r * 2 * p;
m = r * r * p;
printf("%.4f",zhi);
cout << " ";
printf("%.4f",z);
cout << " ";
printf("%.4f",m);
}
这里空空如也
有帮助,赞一个