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

Use naming rules to explain why the following statement is not correct. "The name of the formula PbCl, is lead tetrachloride".
Alvita is planning a garden patio to be made from identical square paving stones laid out in a rectangle measuring 2 stones by y stones. She finds that when she
Which equation represents the line shown on the coordinate grid below (0, -2) 2 4 - 4 -6 -8 -10 2 AY= 2 NON B 2 y = -2 +5 5 2 y -2 + 5 2 DY 2
hey bro take these points
Please answer the question in the picture
1.848 mole of A (g) is placed in a 2.00 liter container at 600 °C. The equilibrium constant is 0.0241. Find the concentrations of the reactant and both products
a 1. Harsh in taste or odor; sharp in manner or temper a. reprimand b. resolve C. acrid d. concentric
i need a 3 sentence about the C!NN 10 for today Fed 3
What does Claudius mean by the last line in Act III, Scene 3?in the play Hamlet
can someone help find the answer?