Question: please solve it with Java language. and please show screen shot for your work on your computer. Thank you Problem: How many days? Description: 3.11

please solve it with Java language. and please show screen shot for your work on your computer. Thank you
Problem: How many days? Description: 3.11 (Find the number of days in a 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 that February 2012 had 29 days. If the user entered month 3 and year 2015, the program should display that March 2015 had 31 days. Remember, create only ONE Scanner object to accept all inputs from the user. Program name: Lab03.java Sample Runs: Enter the month (1-12): 3 Enter the year (yyyy): 2019 March 2019 had 31 days Enter the month (1-12): 12 Enter the year (yyyy): 2021 December 2021 had 31 days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
