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

What is the x-intercept of the line with the equation 1/3x + y = -15 ?
A scientist begins working by trying to explain a natural occurrence that is
It took Marty 10 seconds to walk 15 feet. How fast was he walking in feet per second. Answer with supporting work
What do Muslims believe a prophet is? A deity. An angel. A minister. A messenger.
Solve. x __ 2 = 7 ---------------------------------------- PLEASE HELP!
an item has a price tag of $35 and another tag that says 20% off what is the sale price?
I NEED HELP VERY FAST Zlata Filipovic lived in __________ during the __________. the Netherlands . . . Siege on Sarajevo Bosnia . . . Holocaust the N
which of the following traits is acquired? a. the number of petals that grow in a plant's flower b. the wing shape of a wild bird c. the ability of some
Joanna and Lisa drew lines. Joanna's line is 41 cm long Lisa's line is 19 cm longer than Joanna's Find the length of Lisa's line
for each babysitting job, Ashley charges 2.50 dollars for bus fare plus 8 dollars per hour for each hour she works. She charged 30.50 dollars for her last babys