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

What is the formula of this inorganic salt hydrate?
List 6 calculative devices​
Which of the following are factors of 6x^2+30x-36? Select all that apply. Answer choices: 1. X-1 2. X+2 3. 2 4. 3 5. X+6 6. X-6 7. X-2
If you randomly select a letter from the phrase "Brandon loves to eat at Red Robin," what is the probability that you select a consonant? (Your answer must be i
Molarity by dilution. Show steps
1. Lightning that occurs within a cloud is known as _____ lightning. 2. Another name for a/an _____ thunderstorm is a “pulse” thunderstorm. 3. Tropical and ____
Who is at risk for human trafficking? Please write in your own words.
A skateboarder leaves a 12-foot tall ramp with an initial vertical velocity of 8 feet per sen function f(h) = -8t² +8t + 12 represents the height, h, in feet of
Carl is having a party. Each cake serves 4 people. Does this situation represent a proportional relationship?
freshwater is distributed in both time and space