C Program to find sum of two numbers

Program : C Program to find sum of two numbers

#include<stdio.h>
#include<conio.h>

void main()
{
int a,b,sum;
clrscr();

printf("Enter two no: ");
scanf("%d%d",&a,&b);

sum = a+b;

printf("Sum : %d",sum);

getch();
}
Output :
Enter two no: 5 6
Sum : 11

Share this

Related Posts

Previous
Next Post »