Calendars 1
Calendars 1
Calendars 1
Terminology
1) Leap year:
-> Divisible by 4 ,
3) Odd Day:
364+1 = 52*7+1
Ans) 25
2)Find the number of leap years between 1200 and 2000
* For a non leap year, Jan 1 and Dec 31 will be same day
* For a leap year, Dec 31 will be the next day to that of Jan 1st
Code for each weekday
March - November
April - July
Sept - Dec