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

How does the amount, or magnitude, of charge on an object affect its attraction or repulsion of another object?
Jeffery bought 203 sheets of stickers. Each sheet has a dozen stickers. He gave away 907 stickers to his family on valentines day. How many stickers does Jeffer
if the product of two numbers is 21 and the sum is 10 what are the two numbers
10 plus 12 plus another number divided by 3 equals to 15 what is the third number?
6x3=15+3=18 explain the calculation
The relationship between the number of $4 lunches you buy with a $100 school lunch card and the money remaining on the card
Tammy has a rope that is 17.549 long..What is 17.549 rounded to the nearest hundredths...Pls answer this..Thank you...
Non-steroid hormones are made of amino acids, so they are proteins. True or false
The relationship between the number of $4 lunches you buy with a $100 school lunch card and the money remaining on the card
What number is 5% of 46?