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

Calculate the workdone by a bricklayer who lifted cement block of mass 10kg from the floor to the height of 3cm g=9.8m​
Based on the pattern, what are the next two terms of the sequence? 9, 15, 21, 27, . . .
What are the benefits and disadvantages to communism
At a state park, 3 children and 5 adults paid a total of $48 for their entrance fees, whereas 4 children and 2 adults paid a total of $22. What is the entrance
the outdoor temperature was 8 degrees at midnight the. temperature declined 5 degrees during each. of the next 3 hours what was the temperature at 3 A.M.
Write .24... as a fraction in simplest form.
A consumer will use one of three general problem-solving variations, extended, limited, or routine, based on product knowledge and
A small plane flies at a speed of 102 km/h in still air. Suppose the wind blows out from the west (with the air moving east) at a speed of 46 km/h.A) In what di
my Spanish teacher wants me to make a recording of me singing the Ditties. can someone tell me what those are? ​
How to evaluate the expression 13 • 4