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 person's metabolism remains constant throughout life. Please select the best answer from the choices provided. T F
The ___ is the first beat of a measure. a. Tonic b. Upbeat c. Fermata d. Downbeat
What transports most of the sediment in beach environments? a. undertows c. longshore currents b. breakers d. wind
Which stage in the process of making a protein should be inserted into Step 4? 1. DNA in the nucleus contains information to code for a protein. 2.RNA stores
In what city did the Continental Congress meet? a. Boston b. Philadelphia c. New York City d. Washington d. C.
The leading feminist in America in the nineteenth century was A. Susan [AS]B. Anthony. B. Jane Austen. C. Emmeline Pankhurst. D. Mary Wollstonecraft.
which of the following is the correct way to form the superlative of the adverb sadly?
What word best describes the purpose of an analytical essay? A. reports B. narrates C. interprets D. describes
During a thunderstorm Benjamin Franklin attempted to collect electricity from the air in a _____. key kite Leyden jar milk jar
N2O4(g) 2NO2(g) Which of the following represents the Keq value? 0.18 0.0067 0.131 0.0046