So what got you "stuck" ?
>>Can anybody tell me what condition I have to use here?
Sorry but I'm having trouble seeing the code on your computer. Please post on DaniWeb.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Can anybody tell me what condition I have to use here?
I see the possibility of an switch inside a do/while loop
declare an input variable and a flag variable
set a flag to false
ask the question
do
obtain the user input
switch input variable
wrong input:
display warning
set flag false
break
right input:
do this
set flag true
break
while flag is false repeat
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218