@PrashanthBalakrishnan
Posted
incorrect logic the calculated amount is incorrect.
@iRaYzEn
Posted
@PrashanthBalakrishnan can you give me specific number like 2000/10/2 or so i can test it it will be helpful
btw i used this app as reference you can do your testing and you will find the same numbers https://www.calculatorsoup.com/calculators/time/age-calculator.php
i saw your solution i run the date 2006/month5/day6
the result of your program is 17years/6months/0days the result of my program is 17years/5months/28days the result of the program i run test on is 17years/5moths/28days which is the same as my solution again the program i run test on is https://www.calculatorsoup.com/calculators/time/age-calculator.php
@PrashanthBalakrishnan
Posted
i tried putting 10/12/1994 and for the years i got -- 0 months and 27 days @iRaYzEn