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

Did Maya Angelou's uncle kill the mom's boyfriend after finding out he raped Maya or beat him to death?
Find the remainder when 2x^4-6x^3+2x^2-x+2 is divided by x+2
True or false. If a line L1has equation y = mx + b, where m and b are constants with m ≠ 0, then an equation of a line L2 perpendicular to L1 has the form y = -
How do you write I am 10 years old in japenese ( hiragana )
which point lies on the graph of the boundary line of the inequality 3y + 4x< 12
Noah rows across a river that is 48m wide. The current carries him 15m downstream. How far does Noah actually travel?
What is the next number of the pattern. 2 7 26 101 400
Is There Still Slavery in the World? Please help me :)
WHAT IS 123456567890*1423 THAT MEANS TO DIVIED PLEASE TELL ME THE ANSWER
Hello how do you solve for x a= x-b/y