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

When evaluating a group's effectiveness, why is it important to evaluate each member, including the group leader?
ten less the quotient of a number and 3 and is 6
Explain how imperial competition and the exchange of commodities across both sides of the atlantic ocean influenced the development of north american colonial s
Which is not an extracurricular activity? A. Volunteering at a homeless facility B. Playing high school football C. Taking an extra year of math D. Joining the
Is oil a renewable or nonrenewable resource? Why? A.) Oil is a product that forms naturally, so it's a renewable resource. B.) Oil is being formed much fast
The ratio of coins to notes in a bag is 3 to 8. If there are total of 24 coins, then how many notes are there
DIVIDING ALGEBRAIC FRACTIONS2p/4p^2 divided by 6p^3/6p+3
write the ratio six to seven in other ways
Sierra has a total of 61 dimes and quarters in her piggybank. She has 3 more quarters than dimes. The coins have a total value $10.90. How many dimes and how ma
If 3,200 cars were sold all year, how many cars were sold in the jan/feb period?