6
2025-01-23 11:08:29
发布于:四川
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
double r,d,c,s;
cin>>r;
d=2r;
c=23.14159r;
s=3.14159r*r;
cout<<fixed<<setprecision(4)<<d<<" ";
cout<<fixed<<setprecision(4)<<c<<" ";
cout<<fixed<<setprecision(4)<<s<<" ";
return 0;
}
这里空空如也
有帮助,赞一个