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

Is the following sentence a statement or not a statement? A line has two endpoints.
Sí, yo _____ a pensar en la última competencia de atletismo mucho, me vuelo loco. a. te pones b. se pone c. me pongo
What is the first step to prove a conjecture by contradiction?
what is 840 inches converted to centimeters
what dose the product of any whole number factor multiplied by 100 always have explain
true or false? the costly nature and ultimate failure of the campaigns of the renaissance led to an increase in the power of european monarchs at the expense of
Select the answer that best completes this scenario: ¿ __________ el texto de Ana? No, no entiendo para nada. Entiendo Entiendes Entienden Entendemos
A jar contains five red marbles and three green marbles. A marble is drawn at random and not replaced. A second marble is then drawn from the jar. Find the prob
three gallons of paint are used to paint 16 wooden signs.how much paint did each sign use
(3m-2)(3m 2) determine each product