Question: C + + and Visual Studio write a program that asks if they are on vacation and the day of the week. If it is
C and Visual Studio
write a program that asks if they are on vacation and the day of the week. If it is weekend or if they are on vacation print "You can sleep in otherwise input Go to work, sleepyhead"
When asking them if they are on vacation, they should answer y for yes they are on vacation and n for not on vacation. What data type do you think you should use for the vacation variable?
For the days if the week, they can type:
for Sunday
for Monday
for Saturday
You should provide the user with instructions for what the correct input should be
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
