Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include "math.h"
  4. #include <cmath>
  5. using namespace std;
  6. int main()
  7. {
  8. int n, m, x;
  9. cout << "\nEnter n,m,x\n";
  10. cin >> n >> m >> x;
  11.  
  12. float r1 = m+(--n);
  13. float r2 =m++<n;
  14. float r3 =n++>m;
  15.  
  16. float r4 =pow(x,4)-cos(asin(x));
  17.  
  18. cout << "r1=" << r1 << endl;
  19. cout << "r2=" << r2 << endl;
  20. cout << "r3=" << r3 << endl;
  21. cout << "r4=" << r4 << endl;
  22. system("pause");
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement