jgdiaz4005
jgdiaz4005 jgdiaz4005
  • 02-12-2020
  • Computers and Technology
contestada

I need an example of an infinite loop like something close to that.

I need an example of an infinite loop like something close to that class=

Respuesta :

ahmad10112019 ahmad10112019
  • 02-12-2020

Answer:

int i =0

while(i=0){

console.log("if i=0 then this will keep printing until i is not 0")

}#we are not incrementing 'i' so i will be zero .

Answer Link

Otras preguntas

Some help please♥️♥️♥️♥️
Why this chemical equation 3P4 + 10O2 = 4P2O5 + P4 is wrong?
On a hot day, the upstairs rooms in a house are usually hotter than the downstairs rooms. Why? A. Cool air is less dense than warm air. B. Warm air rises and co
Shelly ran 20 minutes and burned 130 calories. How many calories did she burn per minute?
Given: △ABC, D∈ AC m∠ABC=m∠BDA AB=2, AC=4 Find: AD and DC
Find the equation of a line that is parallel to y = 5x + 7 and passes through (4, 3) A) y = 5x + 3B) y = 5x - 17 C) y = 5x + 17 D) y = 15x - 17 show work
4 + h ≤ 7 and h + 1 > 3 What is the value of the unknown number, h?
What is the volume of the cone to the nearest cubic millimeter? (Use ​π = 3.14) A) 46 mm3 B) 128 mm3 C) 183 mm3 D) 257 mm3
Determine the reasons why cruise ships have gained popularity in recent years.low service costactivities on boardmeeting new peoplegenerous meals discountsall-i
what info is needed to find HL?​