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

Describe how to derive the quadratic formula from a quadratic equation in standard form. edginuity
A large freezer holds 1,375 gallons of ice cream. The ice cream is packed in 25-gallon containers.    How many containers are in the freezer?   A. 22   B.
How to write -3 +(-4) as a subtraction problem?
which of the following is an example of an archetypal situation a: the lady warrior b: the trickster c: the quest d: the theme
X(2•x)= 4•5•y You get 77 points in you can help me with this!
Can police come to house for pirating music
Can someone explain to me how to do this
Kayla has a bowl of beads that contains 42 yellow beads, 28 green beads, 12 white beads, and 18 red beads. She randomly draws a bead from the bowl. The probabil
The distance between P and T on the coordinate grid is ___ units. (Input whole numbers only.) Image of a coordinate grid with point P located at negative 10,
The Piedmont region is represented by which number on this map of Georgia? Question 2 options: 1 2 3 4