Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C++ program that will let the user know what holidays fall in the month entered by the user. The following dates are listed
Write a C++ program that will let the user know what holidays fall in the month entered by the user. The following dates are listed as the holiday dates for the college's 2023 calendar. When the user enters a month, the program will display the holiday(s) that are observed for the month. The following are the days observed:
Jan 1 Jan 16 Mar 13 - 18 May 29 Jul 4 Sep 4 Nov 11 Nov 22 - 25 Dec 19 - 31 | New Years Day Martin Luther King, Jr. Day Spring Break Memorial Day Independence Day Labor Day Veterans Day Thanksgiving Break Christmas Break |
You may assume the user will enter valid input. An example:
The Holiday Picker! Enter a month: July Holidays for July: July 4: Independence Day Enjoy the day! |
Another example:
The Holiday Picker! Enter a month: November Holidays for November: November 11: Veterans Day November 22 - 25: Thanksgiving Break Enjoy the day! |
Another example:
The Holiday Picker! Enter a month: April Holidays for April: No holiday dates listed for April. Check out next month for better news. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started