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

A man is found dead on a Sunday morning. His wife calls the police immediately. The police question the wife and staff. The wife said she was asleep, the cook
the expansion of the railroad directly led to economic growth in the us because
What are the roots of the Moravian church ?
if an element,X, can form an oxide that has the formula X2O3, then element X that would most likely be located on the Periodic Table in the group as?
Write the following as a radical expression 132/5
How many solutions does the system have? x = -4y + 4 2x + 8y = 8 A. one solution B. two solutions C. infinitely many solutions D. no solution
The work of a student to solve a set of equations is shown: Equation A: y = 15 – 2z Equation B: 3y = 3 – 4z Step 1: –3(y) = –3(15 – 2z) [Equation A is mu
why do you think hanbial led his army through the treachous ahlps instead of enganging his enemy at the sea?
Paul's height is six feet, he's an assistant at a butcher's shop, and wears size 9 shoes. What does he weigh?
Which words in the sentence are an appositive phrase? My dog, a large collie, has been found near the park. A.near the park B.my dog C.has been found D.a large