ciaochow / leapyears Goto Github PK
View Code? Open in Web Editor NEWThis C# program asks for a starting year and an ending year, and then prints all of the leap years between them (and including them if they are leap years). However, years divisible by 100 (Ex: 1900) are not leap years unless they are divisible by 400 (Ex: 1600).