Page 1 of 1
yes / no
Posted: Fri Dec 05, 2003 2:53 pm
by mon.king
i'm trying to get a program to ask a question that requires a yes or no answer, and then loops until the answer is no. i have managed to get it to loop but the loop works no matter what the user types in. is anyone able to help.
Posted: Fri Dec 05, 2003 3:30 pm
by talleyrand
I suspect many people on this forum can help. I would suggest as the first statement inside your loop you display what answer they have input and compare that to your termination value.
Posted: Fri Dec 05, 2003 4:52 pm
by MudGuard
It is hard to help without any of your code.
But apart from that - this is not really a programming forum...