write a program to enter a number and display the day according to the number
Answers
Answered by
4
Answer:
This C program will ask the user to enter any number between 1 to 7, where 1 is Monday, 2 is Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday, and 7 = Sunday. Based on the user entered integer value this program will print the day name. To accomplish this goal, we are using Else If Statement
Hope it will help you...
Similar questions