You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() { int a, b, sum; cout << "Enter two numbers: "; cin >> a >> b; sum = a + b; cout << "Sum = " << sum; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Say "Hello, World!" With C++
You are viewing a single comment's thread. Return to all comments →
include
using namespace std;
int main() { int a, b, sum; cout << "Enter two numbers: "; cin >> a >> b; sum = a + b; cout << "Sum = " << sum; return 0; }