Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int x = 0;
  6.  
  7. x = (3 + 4) * 5 - 6;
  8. printf("%d\n", x);
  9.  
  10. x = 3 + 4 * (5 - 6);
  11. printf("%d\n", x);
  12.  
  13. x = -3 + 4 * (5 - 6);
  14. printf("%d\n", x);
  15.  
  16. x = -(3 + 4 * 5 - 6);
  17. printf("%d\n", x);
  18.  
  19. return 0;
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement