As you know, a regular year has 365 days, but a leap year has 366 days (the extra day is the 29th of February).
Create a Go program that evaluates the year variable using conditional statements and prints "Leap year" or "Regular year" depending if it's a leap or a regular year.
For a year to be considered a leap year, it must meet the following conditions:
- A Leap year is any year that is divisible by
4, e.g., but not divisible by100e.g. - However, if the year is divisible by
400, then it is a leap year: e.g.,