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

reread the portion of "through the tunnel" that describes Jerrys journey through the tunnel.how does the word choice create a sense? your response should be at
Rashid and Megan make 8 costumes for the play.Each costume needs 5 felt patches.How can Rashid and Megan use a table to find out how many patches they need?Draw
i have no idea how to do this. Could i get some help? Thank you in advance.
Force usually has the symbol F. It is a vector. What is the correct way to write the symbol to show that it is a vector? A. F (with the line under) B. F (with t
2. _________________________ Period of time, after the Civil War, when the South was required to undergo political, social, and economic change in order to ree
Please answer correctly!!
What is the chemical formula for sodium sulfate?
Jean would like to become a mechanic. What is an associated monetary cost she should consider? A. working with her hands B. obtaining tools C. chance of inju
Any really smart people who can answer this? (Questions 14 and 16)
why would bloggers tag posts with keywords