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

In the accompanying diagram, isosceles triangle ABC has coordinates A(-4,0), B(4,0), C(0,4). Find the area of ABC.
Why does water appear blue?
10 The table shows the cost of blueberries at a local farmer's market. What is the unit price for one ounce of blueberries? Ounces Cost $1.80 $3.60 $5.40 1 12 1
Please help form sentences using these verbs. 1. Usted / ponerse la chaqueta nueva 2. Vanesa y tú / cepillarse muy rápido los dientes 3. Silvia / ponerse
Find an equation in slope intercept form for the line through point P(-3, 2) and perpendicular to the linecontaining the two points (2, 3) and (1, -2).​
Write a poem about one of the elements (preferably Neon or Helium):Hydrogen Boron Fluorine Aluminum Chlorine Platinum Arsenic Helium Carbon Neon Silicon Silver
Which plural noun always takes a singular verb. A.News B.Electronics C.Politics D.Ethics
Find the area and circumference of a circle with a radius of 18 meters.​
Answer I’m on a time limit
Do a key word search for "Three Gorges Dam" in a search engine to research the answers to the questions in this WebQuest. Remember you can also look under the N