The document describes an algorithm to accept a day number as input and print the corresponding day of the week using a switch-case statement. The program starts by reading the day number, then uses a switch-case to match the input to cases that print the day of the week for numbers 1 through 7 before ending.
The document describes an algorithm to accept a day number as input and print the corresponding day of the week using a switch-case statement. The program starts by reading the day number, then uses a switch-case to match the input to cases that print the day of the week for numbers 1 through 7 before ending.
The document describes an algorithm to accept a day number as input and print the corresponding day of the week using a switch-case statement. The program starts by reading the day number, then uses a switch-case to match the input to cases that print the day of the week for numbers 1 through 7 before ending.