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 is the areas of a square with sides of length 8?
what did the term gothic represent to philosophers and artists such as michelangelo and leonardo da vinci? a. ideas that conflicted with biblical teachings b. i
when are functional documents used? a. when planning an event b. when sharing research c. when looking for a job d. when writing an e-mail
yo saco la basura ________ por la semana: los lunes, los jueves y los sábados.
why is it best to have a resting heart rate below 70 beats per minute
a signal word is? a word that tells the reader to look at the footnotes or bibliography a word that indicates whether a comparison or contrast is being used a w
why are economic indicators important
randomly draw a card from a deck of 52 cards. find the probability of drawing a diamond card.
A camera manufacturer spends $2,250 each day for overhead expenses plus $6 per camera for labor and materials. The cameras sell for $16 each. How many cameras m
Find the slope of the line that passes through the points (3, 2) and (-2, -2).