Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- int x;
- int y;
- scanf("%d", &x);
- scanf("%d", &y);
- int c;
- int d;
- int e;
- c=x-y;
- d=x*y;
- e=x/y;
- printf("%d - %d = %d",x,y,c);
- printf("%d * %d = %d",x,y,d);
- printf("%d / %d = %d",x,y,e);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement