Write a method that returns the number of days in a year using the following header: public

Question:

Write a method that returns the number of days in a year using the following header:
public static int numberOfDaysInAYear(int year)
Write a test program that displays the number of days in year from 2000 to 2020.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: