lundi 30 décembre 2019

java method returning false - and asking question until it is returned as true in method [closed]

when check an answer and it comes out as false (i check in a boolean express located in a method) - does it ask the question again in the main method until it is true? keep in mind that i returned the true/false statement. Also if you say no, how could I make it so that question will be asked until the statement is true.

All help is welcomed. Sorry if question is unclear as I am a beginner coder. Please ask for clarification if you require it.

Thank you!!!

Aucun commentaire:

Enregistrer un commentaire