sir i wrote the code for this question and it is also giving correct answer but when i submit it then it shows that one test case is not passed. i m providing u the link of my code here -
please somebody look into my code and tell me what have i done wrong???