Monday, January 4, 2010

Program to find sum of two number

#include
#include

void main()
{
int a,b,s;
clrscr();
printf("Enter two no: ");
scanf("%d%d",&a,&b);
s=a+b;
printf("sum=%d",s);
getch();
}

 

No comments:

Post a Comment