I got WA with my code.. i dont know why..... the output is ok , i think. But, i think.. the only problem with to scan a number frm the user or.. for the newline at the end of each output. In the previous post of this board I found ,, to use scanf("%s",input) .... istead of gets(input),, bu...