scanf witth addition of two num
#include <stdio.h>
int main()
{int num1,num2;
printf("enter your num1 and num2\n");
scanf("%d%d" ,& num1 , &num2);
printf("sum of above mentioned two num is %d", num1 +num2);
return 0;
}
#include <stdio.h>
int main()
{int num1,num2;
printf("enter your num1 and num2\n");
scanf("%d%d" ,& num1 , &num2);
printf("sum of above mentioned two num is %d", num1 +num2);
return 0;
}
Comments
Post a Comment