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

Give two reasons that older adults face a greater risk of vitamin d deficiency than younger people?
which goal stated in the preamble to the u.s. constitution requires a strong army
Find the product. (7x-2) (x+y)
which ones are rational 1. 2.4 2. 74 3. 17.3333333… 4. π 5. 6. –18 7. 8. 87.125 9. –30 10. –8.3 11. 58.25 12. 121 13. 4.5 14.3 7/10
Vince chooses 3 side dishes from a total of 10 side dishes offered on the menu is how many different ways can he choose
What factors can affect mental health
Two boys on bicycles start cycling from the same place at the same time. one cyclist travels 15 miles per hour, the other travels 12 miles per hour, if they tra
A map has a scale of 6 in : 26 mi. If Clayton and Clinton are 52 mi apart, then they are how far apart on the map?
Researchers are exploring whether treatment with ________ might improve social behavior in those with asd.
Find the probability that 4 students chosen at random are all born on a Wednesday. A) 1/28 B) 1/2401 C) 4/2401 D) 1/254