Question: Write a Java program to find the number of days in a month. The program must ask user the number of the month and

Write a Java program to find the number of days in a

Write a Java program to find the number of days in a month. The program must ask user the number of the month and should print the days accordingly. e.g. for month 1 the days printed should be 31, for month 2 it should be 28 and so on.

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 Programming Questions!