Write a Java program to that reads a date (from 2004/1/1 to 2004/12/31) and prints the day of the date. Jan. 1, 2004, is Thrusday. Note that 2004 is a leap year
Expected Output:
Input the month(1-12)
9
Input date (1-31)
15
Name of the date:
Wednesday
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer