Wednesday, 24 July 2013

C-Program to SUM of Two Numbers

#include<stdio.h>
main ()
{
int a,b,sum=0;
printf("Enter the two numbers\t ");
scanf("%d%d",&a,&b);
sum=a+b;
printf("sum of %d and %d is %d",a,b,sum);
getch();
}



sakoncepts.blogspot.com
output


No comments:

Post a Comment