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

the points (-2,1), (1,1), (0,-2), and (-3,-2) are vertices of a polygon. what type of polygon is formed by these points? A. rectangle B. square C. pentagon D. p
The cylinder shown has a volume of 150 cubic inches and its height is equal to its radius. The cylinder and the sphere shown have the same radius. What is the v
Find the mean of the data in the dot plot below.
Apply the square root principle to solve (x-5)^2-40=0
The grades on the last art exam had a mean of 75%. Assume the population of grades on art exams is known to be distributed normally, with a standard deviation o
Professor Sanders wants to study how constant distractions during an exam affect student performance. She randomly assigns her students to different classrooms
answer the questions. ​
Mikel gave a $1.32 tip for an order that cost $8.80. Determine whether or not each tip below is proportional to Mikel's tip. $2.22 tip for a $14.80 order $1.86
PLEASE HELP Which of the following describes the efficiency of real machines? 1.Efficiency is 100% 2.IMA is always larger than the AMA 3.IMA is always smaller t
By 1400 the____________ was established permanently in Rome, which thus became a center for Christian art​