Advertisement
Emon766

operator5

Nov 7th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2. int main ()
  3. {
  4.     int x,y,a,b;
  5.     scanf ("%d%d",&x,&y);
  6.     if(a=x)
  7.     {
  8.         if(b=y)
  9.             printf("Incremented Value: %d\n",a+=b);
  10.     }
  11.     if(a=x)
  12.     {
  13.         if(b=y)
  14.             printf("Decremented Value: %d\n",x-=y);
  15.     }
  16.  
  17.     return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement