SA Activities
a CSE.B-Tech Student's Blog
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();
}
output
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment