Leap year

Read a year and print leap year or common year.

A year is a leap year when it divides by 4, except years that divide by 100, which are leap years only when they also divide by 400. So 2024 and 2000 are leap years, but 2023 and 1900 are not.

!= means "is not equal to": year % 100 != 0 is true when the year does not divide by 100.

Tests
Results will be shown here
C++
Console
Press Run to start your program.