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