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

During the American Civil War, the 54th Massachusetts regiment is most noteworthy for
60 minutes is 20% of ? minute s
A group of 140 tourist are going on a tour the tour guide rents 15 vans. each van holds 9 people. what is a division problem that could be used to find how many
What are composite numbers in 50?
Where are carrier proteins located?
Which of the below factor into the price of a company's stock? A. News B.earnings C.success of products D.all of the above
Read this excerpt from The Wizard of Oz by L. Frank Baum, and then answer the question that follows. When Dorothy was left alone she began to feel hungry. So s
What does Percy know about his father? How does he feel about his father?
Applying the rhyming technique allows the learner to use their a. number sense c. abstract thinking skills b. creativity d. none of these
fix the possessive noun in the sentence the World Cups popularity is growing more and more every year in the U.S .