ProAnswers.org

Write a C program to find out the Sum of two Numbers ?

#include
#include
void main()
{
int a,b,c;
clrscr();
printf(“enter the two numbers:
”);
scanf(“%d%d”,&a,&b);
c=a+b;
printf(“sum=%d”,c);
getch();
}
Output:
enter the two numbers:
5
4
sum=9