https://ide.codingblocks.com/s/72920
u missed endl after each test case
Thank you ! THat helped fix the problem :))