Now let's practice using the || operator! In the previous lesson, we learned how to check if a day is a weekend. Now let's do the opposite - check if a day is a weekday.
A weekday is any of these five days: Monday, Tuesday, Wednesday, Thursday, or Friday.
Since we need to check if the day is any one of these five options, we'll need to use the || operator multiple times!
Write a program that checks if the entered day is a weekday:
You'll need to chain multiple || operators together. Think about how you can check for all five weekdays!
Output (Console)