Wednesday, August 22, 2012
Write a Program to Add Two Numbers in C language
Subscribe to:
Posts (Atom)
#include<stdio.h>
#include<conio.h>
main()
{
int a, b, c;
printf("Enter two numbers to add\n");
scanf("%d%d",&a,&b);
c = a + b;
printf("Sum of entered numbers = %d\n",c);
getch();
}
This is a simple Program to add Two Numbers