Write a program acept a day in a week and print the day name.
Answers
Answered by
0
Answer:
Step by step descriptive logic to print day name of week.
. Input week day number from user. Store it in some variable say week
. Print Monday if(week == 1) . I have assumed Monday as first day of week.
. Similarly, check condition for all 7 days and print the corresponding day name.
Similar questions