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

The Truman doctrine was: A. The policy of rolling back communism around the world B. The policy of expanding communism around the world C. The policy of promot
Why can offspring from the same parents appear different? crossing-over independent assortment randon segregation of chromosomes all of these
Pls Help LOTS OF POINTS
Do you think you should learn to program? Why or why not?
Why do we see only one side of the moon from earth? A. The moon takes longer to rotate than to revolve around earth. B. The moon takes less time to rotate than
Which of the following statements is true? Reproduction by mitosis produces a single identical cell. Plant cells have cell walls instead of cell membranes. The
Urgently NEED these questions answered!!!!!
the process that increases genetic diversity whithin a population is what
A shareholder: A)must be a family member of the company president B)must be active in operations of the company C)receives wages from the company D)contribut
Combine these unlike fractions, then simplify. 2 3/8 - 1 1/10 need answer asap and plz explain