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 many counting numbers are between 30 and 65, not including 30 and 65?
what happens to the brightness of the light from each bulb as each new bulb is added?
Prove the identity: cos(3x) + cos(x) = 2cos(2x)cos(x) I'm almost done with my homework, just got stuck on this one.
when you flick a coin so that it slides across a table, it slows down. what is the name of the force that slows it down
A bank charges $3 each time you use an out of network ATM. at the beginning of the month, you have $1500 in your bank account. you withdrawal $60 from your bank
what's bigger 60% of 90 or half of 100?
what is the time interval between the release of the ball and the time it reaches its maximum hieght? the acceleration gravity is 9.81m/s^2 and the maximum heig
What role does carbon dioxide play in plant life processes
Using the laws of indices, simplify the following:- √h × √h³ =
Which of the following describes the Conquistadors goals in the New World? Select one: a. Gold - The Conquistadors wanted to get rich b. God - The Conquistadors