Episode 12b - More About Conditionals

  1. According to this source, generations in America are defined by the following years:
    • 1923 - 1944: The Silent Generation
    • 1945 - 1964: Baby Boomer Generation
    • 1961 - 1981: Generation X
    • 1975 - 1995: Generation Y - The Millennial
    • 1995 - 2015: Generation Z
    Write a program that asks a user for the year they were born and outputs the generation they belong to. Note that some of the generations overlap because their is no standard definition for the start and end of a generation. So if a user enters 1963, the program should say they are both a Baby Boomer and Generation X!