C++ Program To Add Two Numbers (Integers)
Take two integers from user and add print their sum.
//Add two numbers
using namespace std;
int a, b, sum;
cout << "Enter first number: ";
cin >> a;
cout << "Enter second number: ";
cin >> b;
cout << "Sum = "<<sum;
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.