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

What are the exact solutions of x^2 = 4 − 7x?
On a map of the city .1 centimeter represents 2.5 miles . what distance on the map would represents 20 miles?
Is anyone good at math investigations? Can anyone help me to do this investigation for me please?
the line l, passes through point A, {2,5} and has gradient - 1/2 find and equation of l, giving your in answer in the form y=mx+c
In his book Common Sense, Thomas Paine begins to make the colonists think about becoming: A. Kings B. Communist C. Independent D. Loyalists
3.453 rounded to the nearest tenth
2. When lithium reacts with bromine to form the compound LiBr,each lithium atom1) gains one electron and becomes a negatively charged ion2) gains three electron
Jamal sells sandwiches. He spends $2.70 per sandwich on ingredients and then adds 110% markup. What is the selling price of one sandwich?
how did geography affect the ancient romans
If the average of three numbers is V if one number is Z and another is y what is the remaining number ?