Quote:
Originally Posted by StormRoBoT
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.