...

/

Solution: Day of the Week

Solution: Day of the Week

We'll cover the following...

The main() function uses a switch statement to print the day of the week based on a numeric value from 1 to 7.

  • Declares an integer variable dayNumber ...