Back To C Basic Index
// program to input two numbers and find their sum #include
#include
void main() { int a,b; int sum; clrscr(); printf("enter value for a"); scanf("%d",&a); printf("enter value for b"); scanf("%d",&b); sum=a+b; printf("sum of a and b is %d",sum); getch(); }