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

Statistics- Click on image to see the 5 questions
The variability in marine salinity between habitats dose not impact the fish living there
Tony invested $5,500 in a four-year CD that paid 4.8% interest, but later needed to withdraw $475 early. If the CD’s penalty for early withdrawal was three mont
how are lungs and gills similar?
some people wrongly compare the cells inside the body with bricks in a wall.actually three are scores of difference between the two and one such difference is t
Why were most European trading posts set up on the West African coast? A.Europeans preferred nautical trade to trading across land routes. B.Europeans were ill-
briana records the race times for a track meet. she records for 5 groups of 4 student's each . how many observations does she make?
The concept of less eligibility was introduced in 1834 to
Neolithic people developed systems of math
Use the slope formula to find the missing coordinate. R(0, _), S(-4, 2) m = 5 a. 18 b. 22 c. -22