February 9th, 2009, 10:30 AM
Please Help- my first program does something weird !
I just wrote my first program of my own.
but I can't figure out why if you guess the correct number you have to hit " quit " more than once to exit the program. If you guess the right number 4 times, you have to exit 4 times before it actually closes. can someone please point out in my code what is causing this ?
here's my lame first written program.
any help is appreciated !!
printf("Print 10 !\n\n");
printf("want to re-print ? then you need to find the lucky number !\n\n if you get it wrong you will have to quit !");
printf("click any key to quit");
Last edited by Jeff++; February 9th, 2009 at 06:29 PM.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!