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

HELP PLEASE ASAP!!!!! BRAINLIEST+20 POINTS!!!!!!! Which statements are true about parabolas represented by the equation y=ax²+bx+c? Select four that apply. If
4) Which statement BEST describes the relationship between Plessy v. Ferguson and Brown v. Board of Education? A) Both cases addressed the need for due proc
Which quadratic equation is equivalent to (x2 – 1)2 – 11(x2 – 1) + 24 = 0?
Katrina earns $9.25 per hour plus a 12% commission on any sales she makes. In one day, she worked for 11 hours, and she made $385 in sales. About how much money
The low temperature in Chicago was -3 °F. The low temperature in Milwaukee was -11 °F. Which statement is true? -11 is greater than -3, so it was colder in Ch
Please help ASAP!!! :)
What are the solutions for 2x+7 is less than or equal to 3x-5
Which state attempted to ban all forms of affirmative action? A. California B. Washington C. Texas D. Florida
Why did the united statesbecome involved in the war in iraq​
These are the questions