wrong output
Hey @ayu2321 Did few changes and mentioned them in comments :https://ide.codingblocks.com/s/346265