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

After the action potential passes through an axon, what restores the resting potential? A. Gated sodium channels open and allow sodium to flow into the cell. B
Add the two expressions. 8k + 4 and 3k + 8
[PLSSS HELP] Which congruence theorems or postulates could be given as reasons why LMN is congruent to OPQ?
Approximately how close is russia to alaska
does anyone know the answer to this?
What is the distance between the points (-3,-11 and (-3,23) in the coordinate plane?
If a tree falls in a forest and no one is around. does it still make a sound?
What is the greatest common factor of 3 and 6??
Which is the bether strategy for reading comprehension
In the following sentence, which word is the antecedent?Samuel looked all around the room for his shoes. A. SamuelB. hisC. aroundD. room