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

Which of the following types of mirrors has an optical axis? a convex mirror a concave mirror a double convex mirror All of the choices are correct.
High levels and long periods of stress can increase a person's risk for many diseasesTrueFalse​
PLEASE ANSWER!! serious answers only!!! what is the slope, y intercept and the equation for these???
Where did the United States drop the atomic bomb?"
need help pls pls pls pls
Clarissa has a budget of $1,200 a month to spend for rent and food. She has already spent $928 this month. Which inequality represents the amount she can still
Thermal energy always moves from ___ to ___
What are the two prongs that must be met to be considered a high-performance green building? (site 2)
oknoooooooooooooooooooooooooooo
Can anyone help me with this question?