can you please tell some case in which my code is not working. this is my code https://ide.codingblocks.com/s/172907
Cant find problem in code
I have edited your code… Try to submit now…
but mam i think both codes logic are same. can you tell what was the problem in my code? the link is already present above