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

what is the definition of the term "public assistance"?
vice president cheney was called upon to temporarily assume the office of president when __________.
a snowboarder travels 150 m down a mountain slope that is 65 degrees above horizontal. what is his vertical displacement?
what was the significance of the 1884 berlin conference?
you are in france, all the businesses are closed and people are giving lilly of the valley as a gift. which holiday is it?
simplify the equation 9xy^2-11xy^2
Who is not a flat character in The Tragedy of Julius Caesar? Lepidus Mark Antony Messala Pindarus
a constuction worker pushes a wheel barrow 5.0 meters with a horizontal force of 50.0 n . how much work is done by the worker on the wheel barrow
Write the equation, in slope-intercept form, of the line that has a slope of 2 and passes through the point (3, 1).
Which products are formed when aluminum is added to a silver chloride solution? none only AlCl3 AlCl3 and Ag AlAg3 and Cl2