#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,c;
printf("enter the 2 numbers: ");
scanf("%d %d",&a,&b);
c=a+b;
printf("the sum is : %d ",c);
return(0);
}
this is a simple program to add 2 numbers. my program would let me input the value..but it would not print the sum ,nor would it print the next line. it would run till the scanf() and as i press enter, it would jst exit the program. can you please tell me whats wrong. I am a beginner programmer...