Task

Determine whether a given year is a leap year in the Gregorian calendar.



See also

 Leap year (wiki)


FOR Y = 1750 TO 2021: PRINT  MID$ ( STR$ (Y) + " ",1,5 * (Y / 4 =  INT (Y / 4)) * ((Y / 100 <  >  INT (Y / 100)) + (Y / 400 =  INT (Y / 400))));: NEXT