Java Ch 5 Loops
¡Supera tus tareas y exámenes ahora con Quizwiz!
break
Used to immediately terminate the immediate loop
continue
Used to resume program execution at the end of the current loop body. If followed by a label, continue resumes execution at the end of the enclosing labeled loop body.
answer = input.nextLine().charAt(0)
sentinel value for user input to continue the loop based on char!
Sentinel value
a preselected value that stops the execution of a program
