For Example: 2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028
Start Algorithm
Store year=0;
Display ("Enter the year:")
Read year
if(year % 4 == 0 && year % 100 != 0) or year % 400 = 0))
Display ("Entered year is a leap year")
else
Display ("Entered year is not a leap year")
end of if