ac!ac!
2026-08-16 11:54:05
发布于:江苏
0阅读
0回复
0点赞
#include <cstdio>
#include<iostream>
using namespace std;
int main(){
double pi=3.14159,r,s,y,d;
cin>>r;
d=r*2;//直径
y=pi*2*r;//周长
s=pi*r*r;//面积
printf("%.4f %.4f %.4f",d,y,s);
}
这里空空如也





有帮助,赞一个