No output is there

code- https://ide.codingblocks.com/s/321087

hello @anubhavb11 there was very small mistake in your code .
I have corrected it and marked that error .
now its giving the correct output .
i hope i have cleared your doubt .
Happy Learning !!

i think you forgot to attach the code