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

Compile and Execute a Program 1. Compile Pay.java using the JDK or a Java IDE as directed by your instructor. 2. You should not receive any error messages. 3
the diameter of a vollyball is 15.5 find its radius and volume.Please answer with full process​
I want to know What does w=
Hurry Please What is the difference between reasons and evidence in an argumentative essay?
Solve for x A.3/4 B.52/7 C.17 D. 52/3
9.What kind of circle would you need and which direction would the arrow go if you graph x > -2 on a number line? closed circle, arrow goes right open circle
A swing base is 72 cm above the ground as shown in figure. When it travels through an angle of 60∘ from its mean position, swing base comes at 252 cm above the
hi guys how are you?can anyone please help me ?write about a tragic accident that you have witnessed , or heard of , or even saw on TV only use 80 words​
please help me A bumblebee visits 14 flowers in 38 minutes to collect pollen. A butterfly's progress in visiting flowers is shown in the table. Which insect is
Pls help :( I’m so stuck in this