well,
I tried your fix there, but now the program doesn't work right.
if you guess the correct number " 4 " and click enter,
the window closes.
it's supposed to "print 10 !" ten more times then ask again.
if you get the number wrong it's then supposed to say " press any key to quit "
any ideas ?

thanks.