C++ Program to find the sum of two integer numbers
Program
#include<iostream>
using namespace std;
int main()
{
int a, b, sum;
cout << "Enter value of a" << endl;
cin >> a;
cout << "Enter value of b" << endl;
cin >> b;
sum = a + b;
cout << "Sum = " << sum << endl;
return 0;
}
Output
Enter value of a
90
Enter value of b
11
Sum = 101