Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4. int przeciw (int a, int b)
  5. {
  6. pow (a, 2 );
  7. pow ( b , 2);
  8. }
  9. int main()
  10. {
  11. int c;
  12. cin >>c;
  13. int d;
  14. cin >> d;
  15. int e;
  16. cin>>e;
  17. e = e * 180 / 3.14159;
  18. c = c * 180 / 3.14159;
  19. d = a +b;
  20. przeciw (d = sqrt (d));
  21. if (e>45)
  22. return d; return c;
  23. else
  24. return d; return c;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement