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

The floor of a hall has an area of 48 dm.The floor is to be tiled by triangular tiles.of sides 20 cm,30 cm and 40 cm. Find the total cost of tiles if cost of ea
A jar holds 16 ounces of honey. A cook is going to make two recipes. One calls for 2.5 ounces of honey, and the other calls for 4.25 ounces of honey. After the
What behavioural adaptation does a desert fox have to help it survive in hot places
Why is Earth a troubled planet? A. because the Dark Thing came to Earth many years ago B. because there is evil on Earth C. because people on Earth do
A majority of the governments around the world currently use a federal system. True or False
What is (81m^6)^1/2 simplified
which of the following statements is true of the economics choices that consumers make
Leukopenia is a condition characterized by a decrease in white blood cells. What effect does leukopenia have on the body's ability to fight infection? A) Leukop
simplify 64 2/3 ÷8 2/3
Directed pressure causes