Leap Year

  •  if year is divisible by 4 and not divisible by 100 or not divisible by 400 then it is a leap year.
  • if yea is divisible by 4 and then
  1. it is divisible by 100 but not divisible by 400 then it's Not  a leap year
  2. it is divisible by 100 but also divisible by 400 then it is a Leap year  

Comments

Popular posts from this blog

Code to Delete all Watch Later youtube Playlist

Area of Triangle :- Given three sides(Using Heron's Formula)

py