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

Persian rulers divided their vast empire into smaller regions ruled by loyal _____. A. serfs B. satraps C. citizens D. philosophers
What is the simplest form of this. At the picture
what are all the continents (already know them)
Dividends are the periodic distribution of profits to investors. t/f
You would most likely find a young star in the Milky Way if you looked a. in the halo. b. in the nucleus. c. in a major spiral arm. d. between major spiral
The area of a sector of a circle with a radius of 4 centimeters is 2.512 square centimeters. The estimated value of ╥ is 3.14. The measure of the angle definin
Which of the following is NOT a member of OPEC? a. Saudi Arabia b. Russia c. Nigeria d. Venezuela
In which of the following sentences is the word its used correctly? A. The problem with the lawn mower is that its old. B. The monster reared its head at
Which of the following is a complex number?2+ 34 9i
Number 7 I don't really get it