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

What Canadian city is across a body of water from New York
a person who studies word origins and meanings would most likely be a
A transformer has a primary coil with 600 turns and a secondary coil with 300 turns. If the output voltage is 320 volts, what is the input voltage?A. 8 volts
At the school carnival, Carmen sold 3 times as many hot dogs as Shawn. The two of them sold 152 hot dogs altogether. How many hot dogs did Carmen sell? 51382111
I = {1, 2} List all possible subsets of the given set.
Which statement is NOT true?A.  If two coplanar lines do not intersect, then the lines are parallel.B. Two lines lie in one plane and do not intersect if and on
2(n-3)=4n+1 this sucks not knowing the answer
Kim estimates that the faucet in her kitchen drips at a rate for 1 drop every 2 seconds. Erik wants to klnow how many times the faucet drips in a week.
Solve the system of equations.3x+3y+6z=33x+2y+6z=74x+4y+7z=4
What is the difference between displacement and double displacement reactions?Write equations for these reactions?