Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int a, b, c;
- cout << "Enter a value for a: " << endl;
- cin >> a;
- cout << "Enter a value for b: " << endl;
- cin >> b;
- c = a + b;
- cout << "Sum: " << c << endl;
- system("pause");
- }
Add Comment
Please, Sign In to add comment