Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- const double PI = 3.14159265358979323846;
- int main()
- {
- double r;
- cin >> r;
- cout << PI * r * r << " " << PI * r * 2 << "\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement