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

11+?÷4-?=9 I have been stumped on this for a while
helppppppppp?!!!:)???
11+?÷4-?=9 I have been stumped on this for a while
What was the major reason for the cycle of debt and poverty most sharecroppers experienced despite their hard work? A. Sharecroppers and landowners lacked the e
simplify 7/8+(-2/3) --------------     5/6
Dear Jamie: The Student Council started a program— called “Welcome to Lincoln”—for new transfer students. This program gives new students a tour of the school a
How does Bradbury create irony in his story "The Pedestrian"? A. "Normal" society is considered to be the ghosts hiding in their houses. B. The "normal" people
A city has 3 new houses for every 7 old houses. If there are 24 new houses in the city, how many old houses are there? A. 58 B. 56 C. 54 D. 59
A bar serves Jello shots each containing 1 1/2 ounces of 80-proof vodka. How many alcohol servings are in 4 Jell-O shots
(99 points, will give brainlist~) -The story that is used to answer these questions is the wonderful wizard of oz- Q1: List two settings and give examples from