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