求助,为啥vc可以我这不行
查看原帖
求助,为啥vc可以我这不行
708772
xmy010424楼主2022/4/1 18:16
#define   PI 3.14159
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
	double r;
	cin >> r;
	cout << fixed << setprecision(4) << 2 * r << ' ' << PI* r * r << ' ' << 2 * PI * r << endl;




	return 0;
}
2022/4/1 18:16
加载中...