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

Product a has a sales price of $20 per unit. based on a 15,000-unit production level, the variable costs are $11 per unit and the fixed costs are $6 per unit. u
How do you determine the intercepts from an equation or graph?
I need help on this question
One pipe fills a storage pool in 20 hours. a second pipe fills the same pool in 15 hours. when a third pipe is added and all three are used to fill the pool, it
Which statement is true?
Which applications, either for diagnostic purposes or for therapeutic purposes, do not involve ionizing radiation? Check all that apply. CT scan MRI ultrasound
Find the measure of angle x in the figure below: 35° 47° 73° 78°
Help PLEASE!!!!!!!!!!!!
The ________ occurs when large cloud droplets (giants) collide and join together with smaller droplets to form raindrops.
[tex] \frac{ {9}^{3} }{9} [/tex]Rewrite using a single positive exponent