Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions