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

x^2 - 9 find roots now
Acid rain can damage buildings, stained glass, railroad lines, airplains, cars, steel bridges, and underground pipes.
HELP PLS 10 points, i need the filled in answers!
PLEASE HELP, I dont know WHAT IM DOING! Explain your answer, thanks!
Which table shows a proportional relationship between x and y?
17.1 is what percent of38
Agricultural waste used as fuel is an example of a _____. solar cell hydrogen fuel cell nonrenewable energy resource renewable energy resource
Which statement best explains the bias of an interviewer in asking questions? A.) She asks the questions to which she wants the answer. B.) She asks the quest
Fiona has 212 stickers to put in her stickers to put in her sticker book. Each page holds 18 sticker. How many pages does Fiona need for all of her stickers?
How did radar technology help the British win the Battle of Britain? It helped them fly faster. It helped them find and attack German ships. It helped them find