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

Which of the following was NOT a remote cause of World War I? A. a growing sense of nationalism B. the decline of monarchies C. an increased policy of imperiali
The famous character Don Quixote suffered from ____ that windmills were giants and his old horse was a young steed. A. collusions B. deluges C. delusions D. pot
What shape is a parallelogram
A number cube is Rolled 80 times and a 3 results fifteen times. what is the experimental probability of rolling a 3
America had a two-fold imperialistic interest in Hawaii, one was using it as a base for Asian interests and the other was to develop this industry. a. cotton c.
A(n) ____ is the act of or process of arriving at a conclusion from facts or a premise. premise inference implication
What is the value of x if 2x+5=10
Solve for x and express your answer as a logarithm. 3(5^x) = 48 Simplify your answer as much as possible.
in edgar allan poe's the raven, what is the last question the speaker asks the bird
In the late 1960s, what did members of the counterculture share with many other American citizens?