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

A person who speaks out against the regime in power
Why is the Mayflower Compact so important? A. It maintained peace between the Native Americans and Pilgrims in Plymouth. B. It created a reliable and sust
The surface area of a cone is 43.75 cm2 what is the slant height of the cone ? The base diameter is 5
n act III of Hamlet, why did Hamlet choose not to kill Claudius while he was praying?
(3 pt) During which lunar phase is the moon’s near side entirely lit? A. half moon B. first quarter C. full moon D. new moon
15-x=2(x+3) I need this solved and show me how you solved it
(3 pt) During which lunar phase is the moon’s near side entirely lit? A. half moon B. first quarter C. full moon D. new moon
Which statement correctly explains how Mari should find a solution to the following system of linear equations using elimination? 2f-5g=-9 -7f+3g=4 Multiply the
Need help show me how to do it and the amswer
how were gender roles being challenged in the 1960s and 1970s? greater numbers of women were college educated and expected men to raise the children at home. de