C++: Program To find Sum of Two numbers
#include <iostream>
using namespace std;
int main()
{
int num1, num2, sum;
cout << "Enter Number 1: ";
cin >> num1;
cout << "Enter number 2: ";
cin >> num2;
sum = num1 + num2;
cout << "sum of number: " << sum << "\n";
return 0;
}
Output -