SET JanDays ← 31, FebDays ← 28, FebDaysLeap ← 29, MarDays ← 31, AprDays ← 31,
MayDays ← 31, JunDays ← 30, JulDays ← 31, AugDays ← 31 , SepDays ← 30, OctDays ← 31, NovDays ←30, DecDays ← 31
Display “How many days are there in January? :”
IF input == JanDays
THEN display “Correct! There are 31 Days in January!”
ELSE display “Incorrect! There are 31 Days in January”
ENDIF
Display “How many days are there in February? :”
IF input == FebDays or FebDaysLeap
THEN display “Correct! There are 28 Days in February & 29 in a leap year!”
ELSE display “Incorrect! There are 28/29 Days in February.”
ENDIF
Display “How many days are there in March? :”
IF input == MarDays
THEN display “Correct! There are 31 Days in March!”
ELSE display “Incorrect! There are 31 Days in March”
ENDIF
Display “How many days are there in April? :”
IF input == AprDays
THEN display “Correct! There are 31 Days in April!”
ELSE display “Incorrect! There are 31 Days in April”
ENDIF
Display “How many days are there in May? :”
IF input == MayDays
THEN display “Correct! There are 31 Days in May!”
ELSE display “Incorrect! There are 31 Days in May”
ENDIF
Display “How many days are there in June? :”
IF input == JunDays
THEN display “Correct! There are 30 Days in June!”
ELSE display “Incorrect! There are 30 days!”
ENDIF
Display “How many days are there in July? :”
IF input == JulDays
THEN display “Correct! There are 31 Days in July!”
ELSE display “Incorrect! There are 31 days!”
ENDIF
Display “How many days are there in August? :”
IF input == AugDays
THEN display “Correct! There are 31 Days in August!”
ELSE display “Incorrect! There are 31 days in August”
ENDIF
Display “How many Days are there in September? :”
IF input == SeptDays
THEN display “Correct! There are 30 Days in September!”
ELSE display “Incorrect! There are 30 days in August”
ENDIF
Display “How many Days are there in October? :”
IF input == OctDays
THEN display “Correct! There are 31 Days in October!”
ELSE display “Incorrect! There are 31 Days in October”
ENDIF
Display “How many Days are there in November?”
IF input == NovDays
THEN display “Correct! There are 30 Days in November!”
ELSE display “Incorrect! There are 30 Days in November”
ENDIF
Display “How many Days are there in December?”
IF input == DecDays
THEN display “Correct! There are 31 Days in December!”
ELSE display “Incorrect! There are 31 Days in December”
ENDIF