Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _USE_MATH_DEFINES
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- int ang = 0;
- float rad = 0;
- cout<<"Podaj kat w radianach: \n";
- cin>> ang;
- rad = M_PI / 180;
- cout<<"Podany kat w radianach wynosi: " << rad << "\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement