Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*###Begin banned keyword - each of the following line if appear in code will raise error. regex supported
- define
- include
- using
- ;
- ###End banned keyword*/
- #include <iostream>
- #include <iomanip>
- #include <limits>
- #include <cmath>
- using namespace std;
- int main()
- {
- cin.tie(NULL);
- std::ios_base::sync_with_stdio(false);
- double x;
- cin >> x;
- cout << setprecision(16) << (atan(1)/4)*x*2 << "\n"<< (atan(1) / 4)*x*x
- << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement