Originally Posted by red463 well, it prints "enter a char other than 0" twice... No. I asked what happens after you press the D key. The answer was: "I press the enter key." Which should have given you the reason it is printing the line twice. Quzah.
Hope is the first step on the road to disappointment.