#include<stdio.h>
int main()
{
int a,b;
int sum;
printf("Enter any two integer:\n");
scanf("%d%d",&a,&b);
printf("a=%d b=%d\n",a,b);
//sum=a-(-b);
sum=a-~b-1;
printf("sum of two integers:%d",sum);
return 0;
}
No comments:
Post a Comment