//Programmer: Bo Bayles  Date: 31 August 2004
//File: lab2.cpp         Class: CS54 C
//Purpose: Add two numbers inputted by the user.

#include <iostream>
using namespace std;

int main()
{
  int iFirst = 0;
  int iSecond = 0;
  int iSum = 0;

  cout << "================" << endl;
  cout << "I'm going to add two numbers. You're going to give me the ";
  cout << "numbers to add." << endl;

  cout << "Type in the first number and hit Enter." << endl;
  cin >> iFirst;

  cout << "Type in the second number and hit Enter." << endl;
  cin >> iSecond;

  iSum = iFirst + iSecond;

  cout << iFirst << " + " << iSecond << " = " << iSum << endl;
  cout << "The sum was " << iSum << endl;

  return 0;
}

