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 is adaptation in animals and plants
if a pH of water is 5.3 then 4.3 is it 1.0 less acidic 1.0 less basic
mike constructed a closed box that measures 2.5 feet long by 3 feet wide by 1.5 feet high. what is the total area of the material mike needs to construct the bo
How do you pronounce the letter "X" in Spanish?
how many rectangular prism can you make out of 20 snap of cubes
WHICH EXPRESSION IS EQUIVALENT TO SIN 22 COS 18 + COS 22 SIN 18?
how many rectangular prism can you make out of 20 snap of cubes
mike constructed a closed box that measures 2.5 feet long by 3 feet wide by 1.5 feet high. what is the total area of the material mike needs to construct the bo
Write in function form X+y=6..?
at what point do scientists classify an area's weather as its climate? 1 year ,5 years ,15 years or 30 years