admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Print day name based on day Number

Sunita Chhetry
110 Posts

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

Wednesday

4

Thursday

5

Friday

6

Saturday

7

Sunday

Published By : Sunita Chhetry
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin