Computer Science, asked by siddharth1230, 8 months ago

A
Input consists of the month number (MM), the day of the month (DD) and the year (YYYY). Write a program in java to calculate and print the corresponding day of the year (in the range 1 to 366).

Example :
INPUT :
month number
05 


Day
03


year
1996


OUTPUT :
CORRESPONDING DAY OF THE YEAR IS : 
124

(31 + 29 + 31 + 30 + 3 = 124)

Test your program for the following sample data.
MONTH DAY YEAR 
09 07 2000
05 03 1954
12 13 1960​

Answers

Answered by samiranchetri26
1

Answer:

i dont know the answer sorry

Explanation:

Similar questions