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 first step in responding to any sports injury is to __________.
Which factor is responsible for the red color of Mars? sulphur dioxide methane iron oxide nitrogen
What is 1/5 divided by 5/7
The perimeter of a rectangular garden is 72 feet. It's length is 3 times it's width. Find the length and width of the garden
The root word graph means to
When a volcano erupts, sulfur oxides are released into the atmosphere. How does this volcanic eruption affect precipitation?
Which percent is equivalent to 3 2/5
Edwin Hubble categorized galaxies according to their a. colors. b. shapes. c. inhabitants. d. food supplies.
True or False: There are four stages of the writing process. a. .True b. .False
how would you solve this