Advertisement
axyd

CS172 l1ex1

Feb 11th, 2016
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int x = 50, y = 100;
  7.     int total = x + y;
  8.     cout << "####Lab 2, Exercise 1####\n\n";
  9.     cout << "The total is: " << total << endl;
  10.     cin.get();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement