// ifElseExample.cc  CISC106 sect 99  11/08/2006
// an example of how to use an if/else in C++

// Submitted by Sarah Finkle, who adapted it from web materials,
// then  edited further by P. Conrad

#include <iostream>
using namespace std;

int main()
{
  // define two integers
  int x = 3;
  int y = 4;
  
  //print out a message telling which is bigger
  if (x > y)
    {
      cout << "x is bigger than y" << endl;
    }
  else
    {
      cout << "x is smaller than y" << endl;
    }
  return 0;
}
