Day Estimator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Day Estimator

Hey guys check out my new code https://code.sololearn.com/ctryPJ9MBNC1/?ref=app if any suggestions to improve my code u r most welcome If u like plz give my code an up vote thank you

16th Jul 2017, 6:19 AM
Suhail Pappu
Suhail Pappu - avatar
4 Answers
+ 7
Great code! The code outputted 0 below the day, you should probably delete that.
23rd Jul 2017, 2:34 PM
Freetoast
Freetoast - avatar
+ 7
The only 00's that have leap years, are ones divisible by 400.
26th Jul 2017, 2:36 PM
Freetoast
Freetoast - avatar
+ 6
You need to fix the leap years. I entered 29 Feb 1800 and it said Friday though it isn't a leap year.
25th Jul 2017, 2:22 PM
Freetoast
Freetoast - avatar
+ 2
Thanks bro for correcting my code and i was surprised to know that 1800 was not a leap year lol
26th Jul 2017, 2:10 PM
Suhail Pappu
Suhail Pappu - avatar