Enable the user to enter any year from 2000 up to 2200. Check it is in this rang
ID: 3546522 • Letter: E
Question
Enable the user to enter any year from 2000 up to 2200. Check it is in this range using a while loop. They can also enter any of the 12 months. Print out the number of days in the chosen month for the chosen year, and be sure it also works for leap years. For example In the year 2040, febuary has 29 days.
- Please dont use any advanced methods or imput and class that deal with dates and time. code from scratch.
- It would be also nice if you use string array for names of the months and int array for the number of days in each month.
- I am having to trouble with the leap year :(
Explanation / Answer
Enable the user to enter any year from 2000 up to 2200. Check it is in this rang
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.