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 is the value of the expression |x| + |y + z| when x = –6, y = –3, and z = –5?
A well tested explanation for a wide range of observation or experimental results is called a scientific
How does the width of a rectangle change if the length increases but the area remains 300square feet
Hair and nails are derived from cells of the A. skin. B. bone. C. blood. D. fat tissue.
How did the mayflower compact affect the settlement of the plymouth colony? a) it set up the process for governing farming in the colony. b) it became the basis
A MAN walked for 1/3 hour and then got an automobile ride for 1/2 hour. what part of time consumed he ride on automobile ???? (a) 1/3 (b) 3/5 (c) 5/6
if x equals 8-(-2.25) and y equals 6-4.2-(-4.9) what is the value of x-y
If someone is a “nativist,” who is he or she against?
Two equations are shown: Equation 1: (x –12) =12 Equation 2: y – 12 = 12 Solve each equation
What is racial 2 times racial 8