I am needing help writing a program in which every month of the year is enumerated. It needs to run so that the user can input a day of the year in the format mm/dd/yyyy and the output be the day number in the year (the 3 of feb would be the 31 of jan plus 3 = 34), the date in the form dd/mmm/yyyy, and the year, and still being able to factor in leap years.

I'm just starting out in java and our teacher really hasn't taught us this...