Please help me with code , icant figure out what is wrong

https://ide.geeksforgeeks.org/Ik8xmhB01E

this is the ide link

check now:

if this solves your doubt please mark it as resolved :slight_smile: