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

pls help with question 7
Which sentence is an example of indirect characterization?
A tunicate is called a sea squirt because it is the smallest creature in the sea. Agree or Disagree
8. Determine the x- and y-intercepts of -12a - 8y = 24. i need help
What does this quote mean? 2-3 sentences
Why do you think Washington’s greatest fear was that he would die in office? How does this show that he put the public good ahead of his own interest?
A bunny hop is a bike trick in which the rider brings both tires off the ground without using a ramp. The table shows the height y (in inches) of a bunny hop on
Where should a colon be placed to punctuate this sentence correctly?
Do you feel that technology has surpass human interaction?
. Choose the word whose main stress is placed differently from the others. 1. A. brigade B. harrow C. narrow D. peasant 2. A. typical B. continue C. to