Josif_tepe

Untitled

Dec 22nd, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. float pi = 3.1415;
  6. float R;
  7. cin>> R;
  8. cout<< 2*R*pi <<endl;
  9. cout<< R*R*pi <<endl;
  10.    return 0;
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment