Answer: sorry this is in coral 
integer inputMonth
integer inputDay
inputMonth = Get next input
inputDay = Get next input
if (inputMonth == 1 and inputDay >= 1 and inputDay <= 31)
 Put "winter" to output
elseif (inputMonth == 2 and inputDay >= 1 and inputDay <= 29)
 Put "winter" to output
elseif (inputMonth == 3)
 if (inputDay >= 1 and inputDay <= 19)
 Put "winter" to output
 elseif (inputDay > 19 and inputDay <= 31)
 Put "spring" to output
 elseif (inputDay >=32)
 Put "invalid" to output
elseif (inputMonth == 4 and inputDay >=1 and inputDay <= 30)
 Put "spring" to output
elseif (inputMonth == 5 and inputDay >=1 and inputDay <= 31)
 Put "spring" to output
elseif (inputMonth == 6) 
 if (inputDay >=1 and inputDay <= 20)
 Put "spring" to output
 elseif (inputDay >= 21 and inputDay <= 30)
 Put "summer" to output
 elseif (inputDay >=31)
 Put "invalid" to output
elseif (inputMonth == 7 and inputDay >=1 and inputDay <= 31)
 Put "summer" to output
elseif (inputMonth == 8 and inputDay >=1 and inputDay <= 30)
 Put "summer" to output 
elseif (inputMonth == 9)
 if (inputDay >=1 and inputDay <=21)
 Put "summer" to output
 elseif (inputDay >= 22 and inputDay <=30)
 Put "autumn" to output
 elseif (inputDay >=31)
 Put "invalid" to output
elseif (inputMonth == 10 and inputDay >=1 and inputDay <= 31)
 Put "autumn" to output
elseif (inputMonth == 11 and inputDay >=1 and inputDay <= 30)
 Put "autumn" to output
elseif (inputMonth == 12)
 if (inputDay <= 0)
 Put "invalid" to output
 elseif (inputDay >= 1 and inputDay <= 20)
 Put "autumn" to output
 elseif (inputDay >=21 and inputDay<=31)
 Put"winter" to output 
else
 Put "invalid" to output
Step-by-step explanation: