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

p(x) x^3+x^2-x-1 Find all zeros of p (x)
when Jefferson took office he did what
HELPPPPP 35% OF GRADEEEEE.... When John bought his new computer, he purchased an online computer help service. The help service has a yearly fee of $25.50 and a
PLEASE HELP I GIVE THANKS
In which sentence does the prepositional phrase act as an adverb? A. Last evening, Anne suffered from a headache. B. The door to the attic was left open. C. Mr
according to the United States constitution the president has the power to (A) negotiate treaties (B) amend the constitution (C) impeach members of congress
How did the mountains in Greece contribute to the rise of city-states?
Which body tissue or organ contains the most mitochondria?
CAN ANYONE PLEASE HELP WITH MATH? The rectangle has an area of 4(x+3) square units. A- If the dimensions of the rectangle are doubled, what is the area of the n
Who was the Queen of England when Shakespeare first became known as a great playwright? A. Elizabeth I B. Mary Tudor C. Victoria D. Anne Boleyn