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

there are 13 boys and 10 girls in a class. work out the total number of ways that 1 boy and 1 girl can be chosen from the class​
How is net pay different from gross pay?
Use x to represent “a number” nine decreased by sixteen times a number
Please select the word from the list that best fits the definition Ana no puede hablar.
A cargo helicopter delivers only 100-pound packages and 120-pound packages. For each delivery trip, the helicopter must carry at least 10 packages, and the tota
x/6+3=-18 what is x plz help fast
Odysseus, disguised as the beggar, tells Penelope that Odysseus stayed with him before he had set sail for Troy. What is your interpretation of Odysseus's motiv
When an individual is taking steps to modify his or her behavior to solve a problem, he or she is considered to be in what stage?
What is the relationship between the value of the digit 3 in 4,231 and in the value of the digit 3 in the number 3,421? A. In 4,231, the value of the digit 3 is
Narrative that reflects the thoughts, impressions, and emotions flowing through a character's mind as they occur is called a(n) _____. soliloquy interior monolo