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 amount of heat is required to raise the temperature of 20 grams of water from 10°C to 30°C? The specific heat of water is 4.18 J/g°C.
To assess the opinion of students at the Ohio State University about campus safety, a reporter for the student newspaper interviews 15 students she meets walkin
Which photographer is famous for his/her work at Yosemite National Park?
the sum of two numbers is 31. The product of the two numbers is 150. What are the numbers?
Which of the following is true about ice sheets? 1) They are the smallest type of glacier 2) They flow in all directions 3)They usually flow down valleys 4) Th
for f(x) = 3x+1 and g(x) = x^2-6, find (g/f)(x)
When did Commodore Matthew Perry of the U.S. Navy "open" Japan to U.S. trade? 1638 1853 1868 1912
if the liquid shown in the picture above is water and if the air pressure is equal to the normal atmospheric pressure at sea level, what must the temperature of
What is the force required to produce to produce a current of one ampere through a resistance of one ohm?
I have a question for english here it is Thomas went to school, but he had not studied. Which shows the best way to change this compound sentence into two simpl