Help me finding leal year between 2000 to 2009??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me finding leal year between 2000 to 2009???

https://code.sololearn.com/cy9029DhOEl2/?ref=app

1st Jul 2021, 5:59 AM
Rao Muzaffar
Rao Muzaffar - avatar
4 Answers
+ 4
https://code.sololearn.com/cS25Yzd0Uy0s/?ref=app
1st Jul 2021, 7:15 AM
Simba
Simba - avatar
+ 3
Check Code Playground for inspirations and code examples. Switch language filter to C++ and scoping filter to Most Popular 👍
1st Jul 2021, 6:11 AM
Ipang
+ 3
Giving you a short description: if the year is divided by 400 it's a leap year. else if the year is divided by 100 it's not a leap year. else if the year is divided by 4 it's a a leap year. else it's a leap year.
1st Jul 2021, 6:21 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
Simba thanks for helping me now I can understand further problems like this we have to understand condition to apply a loop
1st Jul 2021, 7:52 AM
Rao Muzaffar
Rao Muzaffar - avatar