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

To find the x-intercept of a linear equation, let = 0 and solve for the other variable.
i will give the brainiest and please dont to guess or put something random I really need help.Identify the following example asa fragment or a run on. Then, rew
Mr. Rogers has $4.62. He has 3 times as many dimes as nickels and 6 more pennies than dimes. How many coins of each kind does he have?
5 to the 4th power times 5 to the 2 power
A team of analysts at Amazon is researching the viability of producing a smart watch. How might they estimate potential demand for their smart watch? a. Conside
Which of the following is a difference between the marketing concept and the selling concept? a. The marketing concept focuses on customer conquest, whereas the
evolution of new technology also increased the crime in our society explain​
Jake is the maker of a $2,000 promissory note payable to Kim. Kim indorses the note to Lou who, in turn, indorses it to Mona, who then indorses it to Nat, the p
Opportunity costs may be viewed only in terms of financial resources.a) trueb) false
please help with all the questions