Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define PI 3.14
- #include <cstdlib>
- #include <cstring>
- #include <iostream>
- #include <iostream>
- using namespace std;
- int main() {
- int r;
- float s, p;
- cin >> r;
- s = PI * r * r;
- p = 2 * PI * r;
- cout << "masahat =" << s << " mohit = " << p;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement