Write a program that prompts the user to enter the month


Write a program that prompts the user to enter the month and year and displays the number of days in the month.

For example, if the user entered month 2 and year 2012, the program should display February 2012 had 29 days. if the user entered month 3 and year 2015, the program should display that March 2015 has 31 days.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a program that prompts the user to enter the month
Reference No:- TGS02386576

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)