14th Apr 2018, 1:41 PM
Yasar Khan
Yasar Khan - avatar
16 Respostas
+ 2
according to your code.. 1900 is must a leap year.. but it not a leap year
14th Apr 2018, 3:28 PM
Arun Tomar
Arun Tomar - avatar
+ 1
I'm working on java currently.. but there are so many people.. who gladly help you like Alex and so many.. now back to question.. there are called century year a year which is divisible by 100 is called century year.. a non century which is not divisible by 100 .. leap year.. is that come is 4 year and 400 year at once.. if non century is divisible by 4 if century year divisible by 400 called leap year.. i hope you got
14th Apr 2018, 4:08 PM
Arun Tomar
Arun Tomar - avatar
0
these code is not correct . what you try to say
14th Apr 2018, 2:59 PM
Arun Tomar
Arun Tomar - avatar
0
what is right code?
14th Apr 2018, 3:18 PM
Yasar Khan
Yasar Khan - avatar
0
okkk wait i send you
14th Apr 2018, 3:19 PM
Arun Tomar
Arun Tomar - avatar
0
what is the level of your programing
14th Apr 2018, 3:22 PM
Yasar Khan
Yasar Khan - avatar
0
https://code.sololearn.com/cHOQ85w4GrPi/?ref=app its level is important.. then learning
14th Apr 2018, 3:27 PM
Arun Tomar
Arun Tomar - avatar
0
hey
14th Apr 2018, 3:29 PM
Yasar Khan
Yasar Khan - avatar
0
how much programming u know in c++
14th Apr 2018, 3:29 PM
Yasar Khan
Yasar Khan - avatar
0
check my one its also give the same answer.
14th Apr 2018, 3:30 PM
Yasar Khan
Yasar Khan - avatar
0
can u teach me
14th Apr 2018, 3:31 PM
Yasar Khan
Yasar Khan - avatar
0
hmm
14th Apr 2018, 4:48 PM
Yasar Khan
Yasar Khan - avatar
0
i will try and upload it
14th Apr 2018, 4:48 PM
Yasar Khan
Yasar Khan - avatar
28th Dec 2020, 8:15 AM
Mitta Mukesh Kumar
Mitta Mukesh Kumar - avatar
0
Your code recognises 1900, 2100 etc, as leap years. A year that is evenly divisible by 100 (for example, 1900) is a leap year only if it is also evenly divisible by 400. For this reason, the following years are not leap years: 1700, 1800, 1900, 2100, 2200, 2300, 2500, 2600 This is because they are evenly divisible by 100 but not by 400. The following years are leap years: 1600, 2000, 2400 This is because they are evenly divisible by both 100 and 400. You can see my code although it is written in Kotlin but you will get the point. https://code.sololearn.com/ck3tP7Aq1J20
27th Apr 2021, 10:20 AM
Manthan Santara
Manthan Santara - avatar