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

Prepare an art integrated assignment (Chart tabulation of music, costume, region, language association) of haryana
I am eating food do negative 
Write the following comparison as a ratio reduced to lowest terms. 32 nickels to 19 dimes
Prepare an extensive Comparison Table of Energy Resources used in India. (Include conventional, non conventional, potential and stock resources)
PLEASE HELP! HOW DO YOU SOLVE THIS?
Soil is composed of:a. mineral particles.b. organic materials.c. air.d. water.e. All of these
Write a short story based on the following Hills give your story a suitable title by describing characters and events and including some dialogues and the hints
For molecules of general formula ABn (where n > 2), how do you determine if a molocule is polar?​
How much radiaton does a modern day phone have?+does it harm the human body?​
Please help me with the question i have put