// A simple interactive program
#include <stdio.h>
void main()
{
int a,b;
printf("enter the value of a and b");
scanf("%d %d",&a,&b);
printf("the addtion of a and b is %d",a+b);
}
/* OR
{
#include <stdio.h>
void main()
{
int a,b,sum;
printf("enter the value of a and b\n");
scanf("%d %d",&a,&b);
sum=a+b;
printf("the addtion of a and b is %d\n",sum);
} */
0 Comments