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

Tennis Garden is 5 yards long how long is her garden in feet
Which of the following is true of good human relations
True or False All bills designed to raise revenue originate in the senate
Kurt cut pizzas into wedges measuring 40 degrees if each person eats one piece of pizza how many people could he feed with two whole pizzas
a music store is having a clearance sale. all items are discounted by 30%. what is the sale price of a radio that regularly costs $50?
In modern society, what do we mean when we refer to the division of labor? A. The specialization of jobs in the medical field B. All the jobs people do are con
304/320 simplified, please help, the faster the better.
ankush wanted to purchase a LCD(TV) and went to a showroom.he found that LCD with marked price of Rs.30,000/-,is avaible with cash payment along with 5% discoun
Which of the following is a health risk associated with ground-level ozone? a. cataracts b. skin cancer c. respiratory illness d. all of the above
Suppose heather drives at a constant rate of 60 miles per hour for 2 hours. How far will she have traveled in that time.