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

100 points again 100 points again 100 points again
What natural resource was mined to power the industrial revolution in england?
Subtract and reduce to lowest terms. 3 3/7 - 2 1/5= 1 1/8 1 1/35 1 4/17 None of these choices are correct.
which best-selling book, written by angela duckworth, explains how success can be achieved by a combination of passion and persistence?
Which set of numbers can represent the side lengths, in inches, of an acute triangle? 4, 5, 7 5, 7, 8, 6, 7, 10 7, 9, 12
Which of the following might describe the setting of a story? answer choices a frog and a witch happy and loving a high school in 1956 love is stronger than fea
90- We always get up early. (are used to)​
A social worker earns an average bi-weekly net pay of $1,465.87. Which compound inequality correctly shows the amount of money, m, the social worker can spend i
What is 1984 about? Should I read it?
n the kitchen cupboard, there are three jars containing different items. sugar is to the right of rice and the flour is to the right of the sugar. which one is