Loop dies after 2 loops.
#4

In your while put some printf("(%d)",x); I suggest one before if and one on the end- it should show you know is x increasing, how it becomes higher that 5 in only 2 loops.
Reply


Messages In This Thread
Loop dies after 2 loops. ( +REP ) - by CmZxC - 09.03.2012, 19:46
Re: Loop dies after 2 loops. - by CmZxC - 09.03.2012, 20:08
Re: Loop dies after 2 loops. - by jamesbond007 - 09.03.2012, 21:18
Re: Loop dies after 2 loops. - by Roko_foko - 09.03.2012, 21:24
Re: Loop dies after 2 loops. - by CmZxC - 09.03.2012, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)