INCORRECT OUTPUT!

can you tell me where the problem lies in my code. it seems alright to me

@akshatsaraswat03
Can you please save your code at ide.codingblocks.com and then share the link
Also share the link of question