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

this questions make no snese to me
When a sugar pill reduces a person's anxiety after they are told that it will help them, this is called a. Deception b. Placebo effect c. Real good sugar
Find the area of the shaded region. 2 cm 7 cm 3 cm 10 cm
What does this quote mean? "Not everything that is faced can be changed, but nothing can be changed until it is faced" - James Baldwin
why do you think places along the equator have relatively constant temperatures and daylight hours all year?
A car is traveling on the highway at 28 m/s The driver sees a tree in the middle of the road and slams on the brakes. The car comes to a complete stop over a di
i need help with this ?
Someone help worth 5 points please help!
Round 39.472 to the nearest tenth​
The measure of an exterior angle of a triangle is 40°. What is the sum of the measures of the corresponding remote interior angles?