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

Ramiro is 3/10 as tall as the flagpole. The flagpole is 5/9 as tall as the nearby tree. The tree is 32 2/5 feet tall. How tall is Ramiro?
two forms of solid carbon diamond and graphite different in their physical properties due to the differences in their
How many counting numbers are between 30 and 65, not including 30 and 65?
What is being personified in the following passage? Fear had settled over the city.
How do you write 1.075 in 2 other forms?
how do i persuade students to enter the school talent show? i have to write it as an article in the school magazine.
what was Margaret Brent accomplishments
step by step how to solve 3y + 5.2 = 2 - 5y
what is the main functions of lipids?
Find the coordinates of point E if C is the midpoint of AE A has the coordinates of (-3,1) C has the coordinates of (-2,-1)