Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer in C++ Lab4B: Do I have class today? We're going to create special messages for days of the week. For this lab, you

Please answer in C++image text in transcribed

Lab4B: Do I have class today? We're going to create special messages for days of the week. For this lab, you will create a program that asks the user for a day of the week. - If the user is going to have class on Monday and Wednesday, but also is really excited for Friday. - Your program should respond with a special message for each of these days, keep in mind both Monday and Wednesday messages are the same and the user may or may not pay attention to capitalization. - For other days, the program will print the message "I should use this time to do my homework." Make sure that the program is NOT case sensitive i.e., for example "Monday" and "monday" should lead to same result Remember, the class name should be Lab4B. Sample runs are shown below. The user input is in bold. Sample run \#1: Enter the day: Monday I have class today! Sample run \#2: Enter the day: monday I have class today! Sample run \#3: Enter the day: Friday It's Friday! Friday! Gotta get down on Friday! Sample run \#4 (generic case): Enter the day: Tuesday I should use this time to do my

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

=+9. Think about a campaign direction.

Answered: 1 week ago