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

Round the number 824,916 to the nearest tens, nearest thousands, and nearest ten-thousands.
Which statement best sums up a theme of Rabindranath Tagore’s poem “We Both Live in the Same Village”?
The plot of a novel should contain which of these? Select all that apply. ordered incidents series of interrelated actions conflict focus on character
How do you graph y+3=0? On a graph like this
4408730 in expended form
The fertile central valley is located in: California Oregon Arizona Washington
Rulers of European nations wanted to explore the seas because they wanted to find out if the world was really flat. they wanted to earn money from the fishing i
How does a heat pump work?
Which additional word in the sentence should be capitalized? Does your 5 book say when the World Wide web was invented? a. Book b. Web c. Invented d. 5
What does the green light in the great gastby?