#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("\n Enter The Value of A: ");
scanf("%d",&a);
printf("\n Enter The Value of B: ");
scanf("%d",&b);
a = a+b;
b = a-b;
a = a-b;
clrscr();
printf("\n\t\t According to +,- sign : \n");
printf("\n\t\t Value of A %d ",a);
printf("\n\t\t Value of B %d ",b);
getch();
}
****************************** INPUT *********************************
Enter The Value of A: 45
Enter The Value of B: 69
****************************** OUTPUT *********************************
According to +,- sign :
Value of A 69
Value of B 45