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

Henry Olcott saw the need to unite this religion's teachings.
Which of the following statements is true? Kinetic energy depends on mass, gravity, and speed. All machines lose some energy because of friction. Heat lost duri
Please help!!! Solve for x.
Can someone please explain in math VOCABULARY how to to figure out the value of X?(Look At Picture Above)​
12.93 is what percent of 172.40?
Which of the following allows a cell to become specialized? A) different patterns of gene expression B) function of the cell in the body C) location of the cel
Show tow ways to evaluate a(b-c) for a=4, b=5, and c=3
keiko works as a tutor for $8 an hour and a waitress for $9 an hour. This month, she worked a combined total of 100 hours at her two jobs. Let t be the number o
Which of the following molecules is the subunit of DNA that links together to form strands of DNA? A) a phosphate base B) a codon C) a nucleotide D) a polymeras
Use the net to find the surface area of the prism.