/* Craig Persiko - CS 110A - agesThree.cpp
   Solution to In-class exercise: Write a program to input the ages of 2 
   people. Then output if the ages are the same or which is less.
*/
#include <iostream>

using namespace std;

int main()
{
  int age1, age2;

  cout << "Please enter the ages of two people\n";
  cin >> age1 >> age2;

  if (age1 == age2)
    cout << "The ages are same\n";
  else if (age1 < age2)
    cout << "The first age is less\n";
  else
    cout << "The second age is less\n";

  return 0;
}



syntax highlighted by Code2HTML, v. 0.9