View Single Post
  #14   Spotlight this post!  
Unread 17-09-2008, 15:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: C Programming Homework Help Needed

Quote:
Originally Posted by StormRoBoT View Post
i have make a program that can trace palindrome number but i need it to loop over and over again till i keyin -1 then only the program terminate

any one can help?
You want it to loop? Hint: use a while statement that never ends, putting all the things inside it that you want to keep executing over and over.

You want it to end? Hint: use an exit statement, but only execute it when the program is supposed to terminate.