Continue or not?
What to use in asking the user if he wants to continue or not? As the user enter yes, the processed data will be gone and the user will be prompt to enter another data to be process... As the user enters no, the program will be aborted... How can I do this?
Something like this can do the job:
Originally Posted by kliane
The method processData() is supposed to, well process the data and the boolean method doContinue() shows a friendly prompt and asks the user if s/he wants to continue; if so, the method returns true, otherwise it returns false.