Write a program which accept two numbers and print their sum.

Source Code

#include<iostream>
using namespace std;

int main()
{
	int a,b,c;
	cout<< "\nEnter first number : ";
	cin>>a;
	cout<<"\nEnter second number : ";
	cin>>b;
	c=a+b;
	cout<<"\nThe Sum is : "<<c;
	
	
	return 0;
}


Output

Enter first number :   81
Enter second number :   93
The Sum is :   174