#include<stdio.h>
#include<conio.h>
void main()
{
int a, b, sum;
clrscr();
printf("Enter your two numbers =");
scanf("%d%d",&a,&b);
sum=a+b;
printf ("The sum of numbers=%d",sum);
getch();
}
Output is--
Enter your two numbers=5
9
sum of two numbers=14
No comments:
Post a Comment