- Back to Home »
- C++ program to calculate sum of two numbers
Posted by : Unknown
#include<iostream.h>
#include<conio.h>
void main()
{
int x,y,sum;
clrscr();
cout<<"Enter first no: ";
cin>>x;
cout<<"Enter second no: ";
cin>>y;
sum=x+y;
cout<<"\nSum = "<<sum;
getch();
}