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

Which of the following was NOT an aspect of MTV's brand in the '80s and early '90s? A) MTV promoted liberal values within its original programming B) MTV increa
Calculate A) the speed of the spacecraft in this orbit B) the time to complete one orbit (radius of earth = 6370km)
Please answer the attached question by selecting of the the given answers.
The equations y = -4x - 1 and y =- 4x + 2 represent what types of lines?
Calculate how many minutes are there in two years...
2 Points You slide across a wooden floor in your socks. There is a normal force of 950 N acting on you, and the coefficient of kinetic friction is 0.65. What is
Which piece of evidence shows that Colonel Pinner was a controlling person? A. Before his death, he told Josephine that he wanted to be cremated rather than bur
untouchability on the basis of caste is one of the major social problem. how?please give one paragrah answer​
Expand the given power using the Binomial Theorem. (10k – m)5
Which agency has an identity theft hotline? FDA FTC AAA ROTC