Question: How Many Days in the Month? Given the String variable month, determine how many days are in the given month or if it is an

How Many Days in the Month?
Given the String variable month, determine how many days are in the given month or if it is an Invalid month.
Currently, the program works but only if the name of the month stored in the variable month is lowercase.
Change something in the switch statement that will make the program work as desired no matter the letter case of the name of the month. In java
 How Many Days in the Month? Given the String variable month,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!