I want some different ways to make the (leap year checking code) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want some different ways to make the (leap year checking code)

This is the one i know.. https://code.sololearn.com/cGdTw15zm9gV/?ref=app

14th Oct 2019, 11:45 AM
Epss -éducation
Epss -éducation - avatar
1 Answer
0
You could check and use every 4 years as a benchmark, then detect if the number is a multiple of 4
13th Mar 2020, 3:57 AM
Emerald
Emerald - avatar