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

Parallelograms: ABCD∼A1B1C1D1. Find BC, B1D1
What is y+2=⅞(x-3) in standard form?
The graph shows g(x), which is a translation of f(x) = x^2. Write the function rule for g(x). Show step by step. Points on nonlinear graph are (9,10) (5,10) (7,
How does the quote below give motive to settlement affected the early communities in those regions. “No people can be truly happy, [even] under the greatest enj
The Cooking Club made some pies to sellduring lunch to raise money for a fieldtrip. The cafeteria helped by donatingthree pies to the club. Each pie was thencut
Sunita carries out an experiment to investigate diffusion. She uses water and a food dye to find out how the volume of water used affects the time the dye takes
I have two Law Of Sines Problems that I need to Help Solved! Please!!give me a minute to upload the pictures20 points if answer correct
100 POINTS PLEASE HELP ASAP!!!!!! How is the distribution of Mexico’s population related to annual precipitation, temperature, and other natural hazards?
what historical event brought the dark ages to an end.? A) The age of Exploration B)The scientific Revolution C)The protestant Reformation D) The renaissance​
F(x)=x^2-8x+12 find the roots by graphing