0
/ 1.0
Given an integer month_number
, complete the function using a switch statement so that the string month_name
is assigned the name of the...
Given an integer month_number
, complete the function using a
switch statement so that the string month_name
is assigned the
name of the month in all lowercase (e.g. "january"
) that corresponds
with the order of the month. When month_number
is not between 1-12,
month_name
should be assigned the value "invalid"
instead.
Your feedback will appear here when you check your answer.