renjay257
renjay257 renjay257
  • 01-03-2021
  • Computers and Technology
contestada

What will the following program display in the console?

var sum = 0
for(var i = 0; i < 5; i++){
sum = sum + i
}
console.log(sum);

A. 15
B. 10
C. 5
D. 0

Respuesta :

1207153 1207153
  • 05-03-2021

Answer:

b- 10

Explanation:

Answer Link

Otras preguntas

If  lies in the quadrant IV. What can be the value of cos  ?
Can someone tell me the answer for 18-7÷0
What is 5000 one tenth of?
find the opposite or additive inverse of 48 =
Two trains leave the station at the same time, one heading East and the other heading West. The westbound train is going 60mph. The eastbound train is going 80m
How did king james 1 important to the survival of the Jamestown settlers
What effect did the Revenue Act of 1926 have on Americans?
what is 12,430,090 in expanded form
What is 70,030,000 in scientific notation
Death Valley has an elevation if -282 feet relative to sea level. Explain how to use absolute value to describe the elevation of Death Valley as a positive inte