Leap Year: A leap year is a year containing one additional day in order to keep the calendar year synchronized. Leap Years are needed to keep our modern day Gregorian calendar in alignment with the Earth's revolutions around the sun. A leap year is evenly divisible by number 4. If a year is not evenly divisible by 4, then it is not a leap year. Actually, Leap years are actually a bit more complicated than just being evenly divisible by four. If a year is evenly divisible by 4, but it is not evenly divisible by 100, then it is leap year. For example, year 2016 is a leap year.
If a year is evenly divisible by 4 and 100 at the same time, then it must also be evenly divisible by 400 to be a leap year. For example, year 2000 is a leap year. However, year 1900 is not a leap year.
2 criteria must be taken into account to identify leap years:
§ The year is evenly divisible by 4;
§ If the year can be evenly divided by 100, the year has to be evenly divisible by 400 to be a leap year.
Design a visual basic program that gets a year from the user and shows whether it is a leap year or not in a label.