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

Which choice describes how the underlined pronoun is used in the sentence? Who tied for first place in the long jump with Charlotte? direct object subject
2cos^2x+sinx=2 domain restriction 0,2pi
Why were the Palmer Raids seen as a violation against civil liberties?
An object has an acceleration of 0 m/s². Does this mean that the object must be stationary?
How to write an English poetry answer?
why was slavery important to texas and other southern states
Which is bigger 12.5% or 3/20
Explain how cobalt-60 and cobalt -59 can be the same element but have different mass numbers
An object has an acceleration of 0 m/s². Does this mean that the object must be stationary?
Mauro has 140 ft of rope. He will cut it into two pieces so that the length of the longer piece is 3 times the length of the shorter piece. What will the length