We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
If the year is evenly divisible by 400, isnt it obviously divisible by 4 and 100 as well ? Can someone provide me an example where a year is divisible by 4, 400 but not 100 ? I am not sure if I am thinking right. Help please !
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Write a function
You are viewing a single comment's thread. Return to all comments →
If the year is evenly divisible by 400, isnt it obviously divisible by 4 and 100 as well ? Can someone provide me an example where a year is divisible by 4, 400 but not 100 ? I am not sure if I am thinking right. Help please !