On 29 Mar 2007 02:03:03 -0700, Karthikeyan M <[EMAIL PROTECTED]> wrote:
> You are using windows is it?? Give fflush(stdin) before scanf statement > in the loop. It'll work fflush() is only defined for output streams, and is not guaranteed to work/do anything on input streams. See http://www.cprogramming.com/faq/cgi-bin/smartfaq.cgi?answer=1052863818&id=1043284351 -- PJH Aio, quantitas magna frumentorum est