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

Which of the following best describe Kenya? A Rich Savanna grasslands and animal parks. B The majority of the country is comprised of arid deserts and sand dun
DNA and RNA are both nucleic acids made up of nucleotides. Which is NOT a difference between DNA and RNA? A) The sugar in RNA is ribose. B) Only DNA is double-
after traveling for 4 hours and 1800 miles, an airplane begins a steady descent. when it begins descending, it’s altitude is 33,000 ft. after 8 minutes it is at
solve 6(4 + a) = 96
Which expression represents 8 less than twice the sum of a number, x, and 2? Looking for brainliest plz help.
Rakesh and Tessa were asked to find an explicit formula for the sequence 100, 50, 25,12.5. Rakesh said the formula is f(n)=100*(1/2)^n-1, and tessa said the for
C. Explain ONE likely outcome of deindustrialization in a region of manufacturing communities.
is this relationship linear or exponential
How do i find angle qpr
10x3 + 2x2 + 5x+1 A. (2x2 + 1)(x + 1) O B. (2x2+ 1)(5x + 1) OC (5x2 + 1)(x+1) OD. (5x2+ 2)(5x+1)