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

Is this rational or irrational?
Calculate the area of the following composite figure. (Please i need help with this)
Which of the following can be used to find the sum of the interior angles for any regular polygon? A. Multiply the number of sides by 180 B. Add 1 to the number
Calculate the equilibrium concentration of Cu2+ in a solution initially with 0.050 M Cu2+ and 1.00 M NH3.
Write the geometric sequence in function notation.
Find the amplitude of this function.​
Convention delegates from smaller states were in favor of _____.
Put the words in the correct order what Ian does school time to go _______ ________ _________ _____ ______ ____ _____ how
The expert tells me the company has been reaching its goals ______ of schedule.
describe fluid friction and static friction in your own words