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