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

A ski jumper competing for an Olympic gold medal wants to jump a horizontal distance of 135 meters. The takeoff point of the ski jump is at a height of 25 meter
what are some reasons for limiting authority
Which of the following oxides can dissolve in water to form a solution that would turn litmus indicator red in color? a. MgO b. K₂O c. CO₂ d. ZnO e. H₂O
What two factors determine the state of rocks and metals Inside the earth?
I need a Amazon tribe name please! Need for Monday
name the four southwestern states where many Mexicans lived originally or settled
Which of the following oxides can dissolve in water to form a solution that would turn litmus indicator red in color? a. MgO b. K₂O c. CO₂ d. ZnO e. H₂O
what is the cell cycle??
Tear is to sorrow as smile is to
What challenges did the californios face?