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

What fuels our Sun? Will it ever run out of that fuel?
What is the answer please help!
What dream do George and lennie share ?
What were Law’s plans?
Which of these jobs is a top fast-growing career in health services? A. Hospital administrator B. Dental Hygienist C.Lab technician D. Phlebotomists
what is the plot of the lottery
Ms. Donaldson earns $19.20 per hour for the first 40 hours she works in a week. She earns 1 1/2 times that amount per hour for each hour she works beyond 40 hou
Zayed is helping his classmates get ready for their math test by making them identical packages of pencils and calculators. He has 727272 pencils and 242424 cal
Can somebody solve this...
How does an underwater earthquake cause a tsunami? plz answer in 2-3 paragraphs Will give 50 points