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

What was the characteristic of economic bust in Texas during the Great Depression ?
A rectangle prism with a volume of 4 cubic units is filled with cubes with side lengths of 1/3 unit. How many 1/3 unit cubes does it take to fill the prism?
How many hours will it take the reptile food to reach 72.5
Three things that were agreed on the upon the Treaty of Ghent?
WHAT IS 6 x 6 x 6 x 6 x 6 is exponet form
Horseplay or practical jokes A. are permitted if no one is insulted B. May be done during breaks or study time C.cause accidents and have no place in the lab D
help me pls asap i really need this
Use substitution to solve the system of equations. 2x+4y=8 3x-5y=1
Mama Mia restaurant used 1/2 of their mozzarella cheese making pizza, and the remaining 64 ounces making pasta. How many pounds did the restaurant start off wit
Please help meee I’m bad at math!!!!!