Getting wrong answer. but in some other ide it gives correct. Here is My code output

https://ide.codingblocks.com/s/263749.

@Pramod123 display endl after each test case.
dont forget to hit like and mark resolved if cleared otherwise ask me :smiley: