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),, but why??????????
if i use gets then, what is the problem? and if i use scanf then how can make a new line at the end of each output..
I hope, u'll try to help me.
