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

Stuart put $99 into a CD that pays 2.6% interest, compounded monthly. According to the Rule of 72, approximately how long will it take for his money to double?
How did the louisiana purchaase benefit the united states?
Which expression represents the number of pencils sue has? sue has 14 pencils but gives some to her friend.
Which of the following is a part of a nucleotide? SELECT ALL THAT APPLY a base b acid c sugar d phosphate group How many phosphate groups does an ATP contain? D
a-The equation has one real solution. b-The equation has two real solutions. c-The equation has no real solutions. d-The number of solutions cannot be determine
Why is it important to include warm-ups and cool-downs in your exercise each week?
Which phrase best symbolizes the world as Arnold’s narrator describes it for his love?
a toy store marks down every toy by 15% in January. How much does a toy cost during January?
Durring the day sam spent 4.85 on lunch.he also bought 7.95 each.at the end of the day he had 8.50 left.how much money did he start with?
find the sum of find the sum of 3/4 of 8 1/3 of 4