Aaaa.题解
2023-10-06 14:35:55
发布于:广东
4阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
const double PI=3.14159;
int main()
{
double r,d,c,s;
cin>>r;
d=2*r,c=d*PI,s=r*r*PI;
printf("%.4f %.4f %.4f",d,c,s);
}
这里空空如也
2023-10-06 14:35:55
发布于:广东
#include<bits/stdc++.h>
using namespace std;
const double PI=3.14159;
int main()
{
double r,d,c,s;
cin>>r;
d=2*r,c=d*PI,s=r*r*PI;
printf("%.4f %.4f %.4f",d,c,s);
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个