Solution Review: Season of a Month
This lesson discusses the solution to the challenge given in the previous lesson.
We'll cover the following
There are two methods to solve this problem:
- One is using the
switch-case
construct, which is the requirement of the problem statement - The other is using the
if-else
construct.
We’ll first discuss the switch-case
solution.
Using switch-case
construct
Get hands-on with 1400+ tech skills courses.