Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /*###Begin banned keyword - each of the following line if appear in code will raise error. regex supported
  2. define
  3. include
  4. using
  5. ;
  6. ###End banned keyword*/
  7. #include <iostream>
  8. #include <iomanip>
  9. #include <limits>
  10. #include <cmath>
  11.  
  12. using namespace std;
  13.  
  14.  
  15.  
  16. int main()
  17. {
  18. cin.tie(NULL);
  19. std::ios_base::sync_with_stdio(false);
  20.  
  21. double x;
  22.  
  23. cin >> x;
  24. cout << setprecision(16) << (atan(1)/4)*x*2 << "\n"<< (atan(1) / 4)*x*x
  25. << endl;
  26. return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement