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

Is the following statement true or false? The intersection of a plane and a ray can be a line segment.
Matt brought $40.50 to the art supply store. He bought a brush, a sketchbook, and paint set. The brush was 1/6 as much as the sketchbook, and the sketchbook cos
In the short run, the quantity of output that firms supply can deviate from the natural level of output if the ___________ level in the economy deviates from th
Joy created a T-chart to compare two human body organs and labeled them as X and Y. Which two organs is Joy describing? X is the liver and Y is the pancreas X i
formular for calculating resistors in parallel​
Do you say I am having problems or I have problems please answer asap
Why was Louis XVI facing a crisis in 1789?​
Ecrivez une lettre amitie .(10- 15 ligne)
3 Select the correct answer. Which of these writers influenced Jane Austen's work? OA. Samuel Johnson OB. John Milton Ос. Charlotte Bronte OD. John Keats Reset
The spicules of sponges are made up of caco3 (non living ) but why they have endo skeleton?While endoskeleton is living