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

Significant settlement in Manitoba, Saskatchewan, and Alberta A. was a response to the world demand for wheat in the early twentieth century. B. occurred only
Eric spent $22.00, including sales tax on 2 jerseys and 3 pairs of socks. The jerseys cost $6.75 each and the total sales tax was $1.03. How much did each pair
Which statement about the power of labor unions is true? a. U.S. courts regularly sided with unions in their disputes with factory owners. b. A union could shut
why might china treat Hong Kong protests differently from those in Tiananmen Square
While Alexander Hamilton supported merchants, Thomas Jefferson was more sympathetic toward the needs of
Find the roots of f(x)=dx^2+ex+f by completing the square.
how do you convert gallons to liters? Explain
The act of formally approving something is known as
Write a power represented with a positive base and a positive exponent whose value is less than the base
Taryn conducted a science experiment on saturation. She added sugar to sugar water solution at different intervals. The graph shows how much sugar was in the so