//Author: Justin C. Miller 
// the IF-ELSE STATEMENT

int main()
{
	// the if statement is just as it sounds
	/* if ( CONDITION )
	   {
		   IF CONDTION IS TRUE DO THIS
	   }
	   else
	   {
		   IF CONDTION IS FALSE DO THIS
	   }
	 */

	int a = 5 ;
	int b = 7 ;

	// NOTICE == is the C++ equivalent of equals
	if(a == b) // if a equals b
	{
		cout << "a equals b" << endl ;
	}
	else
	{
		cout << "a doesn't equal b " << endl ;
	}

	// you can combine if statements to get a running chain
	if(a < b)
	{
		cout << "a is less than b " << endl ;
	}
	else if (a > b )
	{
		cout << "a is greater than b " << endl ;
	}
	else
	{
		cout << "a must equal b " << endl ;
	}

	return 0 ;
}