Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include "math.h"
- #include <cmath>
- using namespace std;
- int main()
- {
- int n, m, x;
- cout << "\nEnter n,m,x\n";
- cin >> n >> m >> x;
- float r1 = m+(--n);
- float r2 =m++<n;
- float r3 =n++>m;
- float r4 =pow(x,4)-cos(asin(x));
- cout << "r1=" << r1 << endl;
- cout << "r2=" << r2 << endl;
- cout << "r3=" << r3 << endl;
- cout << "r4=" << r4 << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement