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

NO LINKS!! URGENT HELP PLEASE!!! Problem 1 Picture #1 (left): Arc CDE = < CAB = Problem 2 Picture #2(right): Arc DCB= Arc EBC=
All of the following describe Britain's relationship with the Confederacy except A. Sold ships to the Confederacy B. Favored the formation of the Confederacy;
I = 100 12J 5T 7S 5H where I is his income, J is the number of jeans he sells, T is the number of T-shirts he sells, S is the number of shorts he sells, H is th
If Julian walks from his house to his school at a speed of 3 miles per hour he will be five minutes late for class. If he cycles to school at a speed of 10 mile
Nicole invests $2000 in an account. The account pays compound interest at a rate of K% per year. At the end of the first year, the money in the account is $2036
1. Find the possible values of r in the inequality 5 > r - 3. OA.r = 8. OB. r<2 OC.r=2 D. r<8
Determine the exact values of x for x^2 - 8x - 5 = 0 using COMPLETING THE SQUARE
How can you use multiplication to check your division
Please help urgent I am lost thank you all
Choose the figure(s) that is/are congruent to the shape labeled with an asterisk (*). A. Figure a only. B. All of the figures are congruent. C. None of the shap