Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x = 50, y = 100;
- int total = x + y;
- cout << "####Lab 2, Exercise 1####\n\n";
- cout << "The total is: " << total << endl;
- cin.get();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement