text: #include "if_else.h"
  //write include statement for if_else header file
  
  //write code for function named get_generation that accepts an int year and returns
  //a string, apply the following logic:
  //return "Centenial" when year greater than equal to 1996 to 2014
  //return "Millenial" when year greater than equal to 1977 to 1995
  //return "Generation X" when year greater than equal to 1965 to 1976
  //return "Baby boomer" when year greater than equal to 1946 to 1964
  //return "Silent Generation" when year greater than equal 1925 and less than equal 1945
  //return "Invalid Year" otherwise
  
  string get_generation(int year)
  {
  	if (year >= 1996 && year <= 2014)
  	{
  		return "Centenial";
  	}
  	else if (year >= 1977 && year <= 1995)
  	{
  		return "Millenial";
  	}
  	else if (year >= 1965 && year <= 1976)
  	{
  		return "Generation X";
  	}
  	else if (year >= 1946 && year <= 1964)
  	{
  		return "Baby Boomer";
  	}
  	else if (year >= 1925 && year <= 1945)
  	{
  		return "Silent Generation";
  	}
  	else 
  	{
  		return "Invalid";
  	}
  	
  }
  