+ 11

Do you know your age (in DAYS)?

Well, this is my first code. I just updated it (input validation & improved output). Check it out ( https://code.sololearn.com/ccd7Z974E05T/?ref=app ) Quiz : What is the maximum difference between 2 consecutive birthdays of a person (according to my code)?

12th Jun 2017, 1:55 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
9 Answers
+ 23
What about.. person having birthday on 29 feb..😂😆 Do the math now.. Edit:- .. 1461.. 208 weeks 5 days
12th Jun 2017, 3:38 PM
Frost
Frost - avatar
+ 8
@Frost : You got there! Now find the answer!!
12th Jun 2017, 3:39 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
@Frost : Think a little more. Check the isLeapYear() function.
12th Jun 2017, 3:45 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 7
@Siddharth and @Vaibhav : The question is slightly modified.
12th Jun 2017, 3:29 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 6
364 days Max
12th Jun 2017, 2:11 PM
Siddharth Saraf
+ 6
@krishna and siddharth it should be 366 days
12th Jun 2017, 2:27 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 3
@Vaibhav please think again once
12th Jun 2017, 3:17 PM
Siddharth Saraf
+ 2
@Krishna sir, you have just changed the sentence but it still means the same as 1+2=3 and 2+1=3
12th Jun 2017, 3:30 PM
Siddharth Saraf
+ 1
Very neat!
12th Jun 2017, 2:13 PM
Limitless
Limitless - avatar