It's possible to __________ out of a loop if the user has entered an incorrect value that would cause an error or a problem within the loop, or if the user has entered a required response end the program can continue without further iterations of the loop.

Answer :

letmeanswer

Answer:

The answer is Break

Explanation:

When break statement is occurred then, it immediately exits from the loop and executed the statement after the loop without raising any kind of error.

The situation after entering of a value by a user

  • If the user entered incorrect value then it will exit from the loop.
  • If the user entered correct input value, then it will run the loop for the further values.

Other Questions