Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- double radians;
- cin >> radians;
- double pi = 3.1415;
- double celsius = radians * (180 / pi);
- cout << fixed << setprecision(0) << celsius << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement