Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- const double pi = acos(-1);
- int main()
- {
- double r;
- cin >> r;
- cout << fixed << setprecision(6);
- cout << pi*r*r << " " << 2*pi*r << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement