Challenge for Switch Statement
Challenge
Given the number of a day in the week (as an integer from 1 to 7), print the day's name in English. For example, if given 2
, print Monday
. If the number is not from 1 to 7, print "Not a day" instead.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.