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

Nadia tossed a number cube, with faces numbered 1 to 6, in the air 60 times. It came up 6 exactly 12 times. Determine the experimental probability and theoretic
if the value of my home has tripled since I bought it, that means its relative change in value is 300% true or false
Which word correctly completes the sentence? I'm looking for a store that sells _________ leather belts. A. mens' B. mens's C. men's
What did Karl Marx believe would happen under capitalism?
what is the value of x for the graph 4x-5y=40
If an element, X, can form an oxide that has theformula X2O3, then element X would most likely be located on the Periodic Table in the same group as (1) Ba (3)
How thick are some of the ice caps over Antarctica? 100 feet 500 feet 1 mile 2 miles
16x^2-25y^2 is equivalent to
The school you want to go to has an acceptance rate of 12%. That means that 12% of the students who apply to the school get in. The school took in 2,400 student
Why does Mr. Jabez Wilson write so much in "The Red-Headed League"? A. He is filing a police report. B. He is copying an encyclopedia. C. He is a tax lawyer