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 purpose of having the state divided into districts?
The Mycobacterium tuberculosis produces toxins, which make you sick. O False O True
when looking at 9/10 and 3/4 and crossing reducing, what number what would you divide both 9 and 3 by? I need help
A car company advertises that its top selling truck can tow up to 9,000 pounds. Write an inequality to show the amount of weight the truck can tow. Let p stand
3. Two vehicles are broken down on the side of the road. One is a small sports car and the other is a delivery truck. The drivers need to push the vehicles forw
A large bucket holds 5 gallons of water, which is about the same as 19 liters of water. A small bucket holds 2 gallons of water. About how many liters does it h
hjabsjsbsjdbdajxjkfndks​
Can someone help me with 12
Which group in the Roman Republic's government had powers similar to a king's but served only one year? O A. Citizens O B. Consuls O C. Tribunes O D. Senators
Federalist (in favor for new Constitution) You are debating the question of ratification and the Constitution. Mrs. Maria is Congress! You need to make a valid