Only the java programmmer.
#A4# #MonthDays# ## ## #month# #int# ## ## #year# #int# ## ## #MonthDays# ## ## ## #month# #int# ## ## #year# #int# ## ## #getNumberOfDays# ## #int# ## #MonthDaysDemo# ## ## #main# ## #void# ## #args# #String[]# ## ## #month,year# ## #int# ## #Start# #Declare month and year Create scanner object# #Output " Enter a month(1-12): " # #input month from the user# #Output " Enter a year: "# #input year from the user# #Creating object obj# #Printing the number of days# #stop# #Start# #variable to hold status of leap year# #if year%100==0# #if year%400==0# #is leap year# #is not leap year# #if year%4==0# #is leap year# #is not leap year# #if case 1 or 3 or 5 or 7 or 8 or 10 or 12# #return 31# #if case 4 or 6 or 9 or 11# #return30# #return default value -1# ## ## #if case 2# #if leap year?# #return 29# #return 28# #True# #False# #True# #False# #True# #False# #True# #False# #True# #False# #True# #False# #True# #False#