nocapmeechy22 nocapmeechy22
  • 01-03-2022
  • Computers and Technology
contestada

A program has a infinite while loop. How can you interrupt it?

Respuesta :

Аноним Аноним
  • 01-03-2022

Answer:

The break keyword is how you interrupt a while loop.

the syntax looks like this ↓

Python ↓

while true:

break

Java script ↓

while (true);

break

Answer Link

Otras preguntas

According to the post wwi territory map, which country was the "big brother" of syria?
How does Hamlet feel at the beginning of this soliloquy? A) He is worried about his relationship with Ophelia. B) He is not interested at all in discussing For
How can a triangle be used to show connection between an inscribed angle and the angle measure of the arc it intercepts
How did a dying Native American Indian population impact Africans
4x+3 solve the equation
What is the answer to this
Help with 51 show work please
I need help there is 10 question I don’t get plzzz help
Can anyone help please
Which rights were granted to many citizens in the English bill of rights?