Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a= 5;
- int b= 7;
- int c= 4;
- int d= 6;
- int e= 3;
- cout << "1." ;
- cout << (a > b) << endl;
- cout << "2." ;
- cout << (a != b) << endl;
- cout << "3." ;
- cout << (d%b==c%b) << endl;
- cout << "4." ;
- cout << (a*c!=d*b) << endl;
- cout << "5." ;
- cout << (d*b==c*e) << endl;
- cout << "6." ;
- cout << (a * b) << endl;
- cout << "7." ;
- cout << (a%b*c) << endl;
- cout << "8." ;
- cout << (c%b*a) << endl;
- cout << "9." ;
- cout << (b%c*a) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement