How do we find wether the given year is leap year or not without using division and modulus | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do we find wether the given year is leap year or not without using division and modulus

23rd Aug 2017, 1:39 AM
Nikhil Gowda
Nikhil Gowda - avatar
4 Answers
+ 1
Why would you complicate a simple process unneccesarily? I never thought about it but I don't think it's possible without using either
23rd Aug 2017, 8:09 PM
Rik Roy
Rik Roy - avatar
+ 1
Hmmm thnks fr the rplt btw
24th Aug 2017, 12:23 AM
Nikhil Gowda
Nikhil Gowda - avatar
+ 1
Rik roy.... We can do it by using subtraction operator
18th Oct 2017, 6:56 PM
Nikhil Gowda
Nikhil Gowda - avatar
+ 1
@Rik Roy
18th Oct 2017, 6:56 PM
Nikhil Gowda
Nikhil Gowda - avatar