Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3. #include <math.h>
  4.  
  5. using namespace std;
  6.  
  7. int main(int argc, char *argv[])
  8. {
  9.  
  10. double radiany;
  11. cout<<"Podaj radiany= ";
  12. cin>>radiany;
  13.  
  14.  
  15.  
  16.  
  17. float stopnie = (radiany * 180) / M_PI + 1;
  18. cout<<"\n\nStopnie= "<<stopnie<<"\n\n";
  19.  
  20.  
  21.  
  22. system("PAUSE");
  23. return EXIT_SUCCESS;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement