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

A company recently downsized its number of employees by 35%. if there are still 65 employees, how many were there prior to the layoffs
In a candy bar, 108 calories are form sugar. There are 240 calories in the candy bar. What percent of the calories are from sugar?
Summary about Kim Stanley Robinson, the lucky strike?
find 9% of 768 i completly forgot how to do this
All organisms have DNA, which differs only in the number and order of each type of nucleotide. This suggests that all organisms have
What is the best way to get the right amount of vitamins needed from proper growth and development? Take a multi-vitamin daily. Eat a variety of foods that are
Which state was the destination for a flood of prospectors during the gold rush of 1849?
Accidentally breathing in foreign particles into the lungs is called....... A- bronchitis B- aspiration C- laryngitis D- pneumonia
What were the five separate states that existed in italy before unification?
Which of the following is the coefficient in the algebraic expression 5y-z^3? A.3 B.z C.y D.5