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

_____________ limpiar la casa este fin de semana.
Let f(x) = x − 2 and g(x) = x2 − 7x − 9. Find f(g(−1)).
Why did African Americans and Mexican Americans have an especially difficult time during the Great Depression?
I would like to create a rectangular vegetable patch. The fencing for the east and west sides costs $4 per foot, and the fencing for the north and south sides c
If a force of 40 newtons moves a cart a distance of 9 meters, the work done is Nm. If the same force moves the same cart three times that distance, the work do
Many of Central Asia’s problems are due to its reliance on one crop—corn. True False
would your hand function differently if your thumb contained a pivot joint?
In 200 words, compare the different ways in which the motif of the mockingbird is presented. How is it connected to innocence? How is it connected to violence?
2. A supermarket display consists of boxes of cereal. The bottom row has 23 boxes. Each row has three fewer boxes than the row below it. The display has six row
PLEASE HELP ASAP!!! Thank you!!