TwiNNeR

Aritmetichki Operacii

Oct 14th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.   int a,b;
  5.   scanf("%d%d",&a,&b);
  6.  
  7.   printf("a+b=%d\n",a+b);
  8.   printf("a-b=%d\n",a-b);
  9.   printf("a*b=%d\n",a*b);
  10.   printf("a/b=%d\n",a/b);
  11.   printf("a%%b=%d",a%b);
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment