Where I am going wrong ? output not coming as expected

code: https://ide.codingblocks.com/s/206727

Hi @myself.yash.srivastav

I have made some changes, you will be able to figure them out. Now it works.

Link : https://ide.codingblocks.com/s/210552

Hope it Helps.

@myself.yash.srivastav
Please mark your doubt as resolved.