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

Which statement best describes the republican form of government that the Founding Fathers envisioned?.
The Thirteenth, Fourteenth, and Fifteenth Amendments were all important additions to the Constitution because they A)repealed previous amendments. B)granted m
whats the answer to this problem h/5>1
round the decimal to the nearest hundredth: 5.6192
Which of these fields was the “Lost Generation” associated with? music movies literature science
In 7.69,which digit has the greatest value?
What is one result of meiosis? A. a larger organism B. identical daughter cells C. repair of damaged cells D. formation of gametes
the floor to a walk-in closet measures 7 feet by 4 feet. If the ceiling height is 8 feet, what is the volume in cubic feet of the closet?
Create a story context for 1/2 divided by 1/3
a certain parallelogram has two pairs of parallel sides based on the following classifications is not correct