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 horse moves a sleigh 1.00 kilometers by applying a horizontal 2000 Newton force on its harness for 45 minutes. what is the power of the horse?
The concentration of a solution can be expressed in (I ) milliliters per minute (2) parts per million (3) grams per Kelvin (4) joules per gram
Why do some states have more Representatives than other states?
We elect a President for how many years?
What would be the cost to each person in the United States to build a Death Star if it's cost would be 9*10^14 dollars? Express your answer to one significant f
How old do citizens have to be to vote for President?
Name one state that borders Canada
What did Susan B. Anthony do?
A 1-gram sample or a compound is added to 100 grams of H2O(l) and the resulting mixture is then thoroughly stirred. Some of the compound is then separated from
A 1-gram sample or a compound is added to 100 grams of H2O(l) and the resulting mixture is then thoroughly stirred. Some of the compound is then separated from