Program to add two number in c using devc++
//add two number
#include<stdio.h>
int main()
{
int a,b,sum;
printf("enetr the value of a and b\n");
scanf("%d%d",&a,&b);
sum=a+b;
printf("the sum is %d",sum);
return 0;
}
Tags:
C courses
//add two number
#include<stdio.h>
int main()
{
int a,b,sum;
printf("enetr the value of a and b\n");
scanf("%d%d",&a,&b);
sum=a+b;
printf("the sum is %d",sum);
return 0;
}