1145ACAC
2024-10-19 23:29:41
发布于:广东
0阅读
0回复
0点赞
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double r, d = 0, c = 0, s = 0;
double PI = 3.14159;
cin >> r;
d = r * 2;
c = r * 2 *PI;
s = r * r * PI;
printf("%.4f", d);
cout << " ";
printf("%.4f", c);
cout << " ";
printf("%.4f", s);
return 0;
}
这里空空如也
有帮助,赞一个