Dear Salem,

Thank you very much for your help,
I can't use pointer * in my code, bcause we haven't learn that in class yet, and according to my teacher, I can't have while ( (ch=getchar()) != '\n' ) in the function too. That is why I'm frustrate....I'll try it again, but I still want to thank you for helping me

Yukon