Julius Caesar invented the leap year in the year 45 BC.
Hope this helps!
The solution to the leap year problem was put forth by Sosigenes. He decided that a year should consist of 365 days, and that every fourth year, there should be an extra day added, bringing the total for that year to 366 days.
LEAP YEAR:-if the year is divisible by 4 that year is leap year and the year is divisible by 100 which gives remainder 0 then that year is not a leap year....... #include<stdio.h> #include<conio.h> int main() { int year, decided; printf("Enter the Year"); scanf("%d"&year); decided= 0; if (year%4!=0) decided= -1; /* ordinary year, eg 1901 */ if (!decided && year%100!=0) decided= 1; /* leap year, eg 1904 */ if (!decided && year%400!=0) decided= -1; /* ordinary year, eg 1900 */ if (!decided) decided= 1; /* leap year, eg 2000 */ if (decided<0) printf("Year is not Leap Year"); else printf ("Leap Year"); return 0; } it can can solve by this Easy method #include<stdio.h> #include<conio.h> void main() { int year, lyear; printf("Enter the year = "); scanf("%d",&year); lyear=year%4; if(lyear==0) { printf("Leap year"); } else { printf("Not a Leap year"); } getch(); }
there is how the heck should i know in a leap year
yr 200 was not a leap as it is perfectly divisible by 100. The criterion for determining whether a yr is a leap yr is- Either 1.)it should be perfectly divisible by 400 Or 2.) it should be perfectly divisible by 4, while being not perfectly divisible by 100.
No it's needed
Because, if the year is divisible by 400, then it is a leap year.
3080 will be a leap year.
1776 was a leap year
No. If the year number can be divided by four then it's a leap year. 2012=Leap year.
Yes 2016 is a leap year.
2112 will be a leap year. If you meant 2012, then it too was a leap year.
my salary will remain the same but I will have to work an extra day because it is a leap year. Should I be paid extra.