Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int x;
  5. int y;
  6. scanf("%d", &x);
  7. scanf("%d", &y);
  8. int c;
  9. int d;
  10. int e;
  11. c=x-y;
  12. d=x*y;
  13. e=x/y;
  14.  
  15. printf("%d - %d = %d",x,y,c);
  16. printf("%d * %d = %d",x,y,d);
  17. printf("%d / %d = %d",x,y,e);
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement