The document contains code for a C program that uses scanf and printf functions to take user input for a day of the week and a character, and uses a switch statement to print the character for the given day or an error message if the day is invalid.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
11 views2 pages
C Program for Day Selection
The document contains code for a C program that uses scanf and printf functions to take user input for a day of the week and a character, and uses a switch statement to print the character for the given day or an error message if the day is invalid.