WAP to accept the day number then print day name (by using switch case statement) for invalid entry display a suitable error
Input |
output |
1 |
Monday |
2 |
Tuesday |
3 |
Wednesday |
4 |
Thursday |
5 |
Friday |
6 |
Saturday |
7 |
Sunday |
Published By : Sunita Chhetry