Your program should read a variable called “dayNumber”,
and print (with console.log) the corresponding day of the week, where 0 is Sunday and 6 is Saturday.
For any other values, your program should print “Invalid day number”.
Test your program for all week days values.
genarationth / web-js-control-flow-practice-ruethaiboon-sri Goto Github PK
View Code? Open in Web Editor NEWweb-js-control-flow-practice-ruethaiboon-sri created by GitHub Classroom