#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,sum;
clrscr();
cout<<"Enter the first no.:";
cin>>a;
cout<<"Enter the second no.:";
cin>>b;
sum=a+b;
cout<<"Sum of two no. is:"<<sum;
getch();
}
#include<conio.h>
void main()
{
int a,b,sum;
clrscr();
cout<<"Enter the first no.:";
cin>>a;
cout<<"Enter the second no.:";
cin>>b;
sum=a+b;
cout<<"Sum of two no. is:"<<sum;
getch();
}
No comments:
Post a Comment