Wednesday 18 March 2015

sum of two numbers

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;

printf("\n enter any two numbers:");
scanf("%d%d",&a,&b);
sum=a+b;
printf("sum=%d",sum);
getch();
}

No comments:

Post a Comment