'commit'
This commit is contained in:
13
TangDou/LuoGuBook/L1_9.cpp
Normal file
13
TangDou/LuoGuBook/L1_9.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int r = 5;
|
||||
const double PI = 3.141593;
|
||||
cout << 2 * PI * r << endl;
|
||||
cout << PI * r * r << endl;
|
||||
cout << 4.0 / 3 * PI * r * r * r << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user