Question: Problem Statement: Write a Java program that prompts the user to enter the month and year, and displays the number of days in the month.
Problem Statement: Write a Java program that prompts the user to enter the month and year,
and displays the number of days in the month.
For example:
For month and year the program should display that February has days;
For month and year the program should display that March has days;
For month and year the program should display that February has days.
The Java program should implement an interactive dialog that prints a program title, prompts the
user to enter a month number and a year, and computes and displays results.
The interactive inputoutput should be the following:
Student name:
CIS Introduction to Programming
Programming Assignment
Due Date: March
Instructor: Dr Lomako
Enter a month number in the year eg for Jan:
Enter a year:
February has days
Submit your homework as HWYourLastName.zip file which includes the folder
HWYourLastName with the following files:
assignment report file: HWReportLastName.doc
programs source file: HWLastName.java
programs bytecode file: HWLastName.class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
