You are viewing a single comment's thread. Return to all comments →
% 'modulus' gives the remainder value, which we require here(for perfect divisibility)
/ 'divide' gives the quotient value, i.e it just divides For example if year= 1900
year%4=0 year/4=475
year%4=0
year/4=475
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 →
% 'modulus' gives the remainder value, which we require here(for perfect divisibility)
/ 'divide' gives the quotient value, i.e it just divides
For example if year= 1900