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

Marie Curie is mostly famous for her work in A. the field of radioactivity. B. the theory of evolution. C. the theory of relativity. D. the field of electromagn
An insulated cooler holds 184 ounces of lemonade. How many full 12.4 ounce glasses of lemonade can be poured from the cooler? I'm assuming its 184 divided by 12
name one type of cell that uses active transport
An elevator can hold a maximum of 1,500 pounds. Eight people need to use the elevator. Bill had some measures from the data set of how much each person weighed.
Simplify. Write in radical form. (x^3y^-2/xy)^-1/5
The highest court in the state Florida is the Florida Supreme court U.S Supreme court U.S County court Florida County court
Why was the Union determined to capture Vicksburg during the Civil War? a. to end the war immediately b. to gain access to the West c. to support General Sherma
Chris bought 2 chicken sandwiches and 3 bowls of vegetable soup for $50, not including tax. Jim bought 1 chicken sandwich and 2 bowls of vegetable soup for$9.50
Chris bought 2 chicken sandwiches and 3 bowls of vegetable soup for $50, not including tax. Jim bought 1 chicken sandwich and 2 bowls of vegetable soup for$9.50
what is the answer to 978 -(6x8) + 99 =