Advertisement
Guest User

tity

a guest
Sep 26th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int a= 5;
  8. int b= 7;
  9. int c= 4;
  10. int d= 6;
  11. int e= 3;
  12.  
  13. cout << "1." ;
  14. cout << (a > b) << endl;
  15. cout << "2." ;
  16. cout << (a != b) << endl;
  17. cout << "3." ;
  18. cout << (d%b==c%b) << endl;
  19. cout << "4." ;
  20. cout << (a*c!=d*b) << endl;
  21. cout << "5." ;
  22. cout << (d*b==c*e) << endl;
  23. cout << "6." ;
  24. cout << (a * b) << endl;
  25. cout << "7." ;
  26. cout << (a%b*c) << endl;
  27. cout << "8." ;
  28. cout << (c%b*a) << endl;
  29. cout << "9." ;
  30. cout << (b%c*a) << endl;
  31.  
  32.  
  33.  
  34. return 0;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement