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

If Cuba had entered into a trade agreement with an Asian country in 1903 without US approval, which of the following agreements or amendments would that agreeme
Find all the powers of 3 that are in the range 3 through 1000
How is the 2 in the number 582 similar to and different from the 2 in the number 528
The 1862 battle at Antietam put an end to A. the military career of Stonewall Jackson. B. the Confederate threat to the Union capital. C. the Civil War’s early
How does the choice of a narrator affect the plot of a narrative? a) The choice of a narrator affects whether or not the conflict is resolved. b) The narrator's
Which occurs during transcription? DNA is copied to create a second DNA strand. mRNA codons and tRNA anticodons assemble amino acids. DNA is unzipped with the a
Explain the four quantum numbers
Can some one please help me with this.?
12x - 23 + 2x = -5 Solve the math equation above?
A short-term job or work project that can be paid or unpaid and can lead to a full-time, paying position is called a(n) _____. a. job shadow b. temp job c. inte