Two integer numbers can be added by using addition (+) operator. In the following program two integer numbers are added by taking input from the user and then output is printed on the screen.
#include
using namespace std;
int main(){
int number1, number2, sum;
cout<<“Enter your first integer number: “;
cin>>number1;
cout<<“Enter your second integer number: “;
cin>>number2;
sum = number1 + number2;
cout<<“Sum of the entered numbers will be: “<<sum;
return 0;
}