include;
main()
{int a,b;
printf("enter the value of a");
scanf(%d%,&a);
printf("enter the vaule of b");
scanf(%d%,&a);
a=a+b
b=a-b
a=a-b
printf("%d%%d%",a,b);}
20 and 1Seems to be a common problem. Add the sum to the difference and divide by 2 gives one number. Then start over and subtract the smaller of the two givens from the larger and then divide by 2...