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

(Please Answer Quickly) Find the distance between the point and the plane. (Round your answer to three decimal places.) (4, 2, 1) x − y + 2z = 6
simplify fully 40/56​
anyyyy girrllll online hereeeere m soo bored​
How many solutions does the system of linear equations represented in the graph have? Coordinate plane with one line that passes through the points 0 comma 2 an
Plot A(2,3) and B(2,5). What is the midpoint of points A and B?
A group is selling chocolate-covered pretzels for 6 dollars per container and kettle corn for 8 dollars per container. They want to sell at least $2,800 in item
at the market opening, a customer purchases 200 shares of an S&P 500 inverse etf (-1x) at $50 per share. At the end of that day, the s&P 500 index decli
Consider the polynomial function p(x)=-5x^6-3x^5+4x^2+6xp(x)=−5x 6 −3x 5 +4x 2 +6xp, left parenthesis, x, right parenthesis, equals, minus, 5, x, start su
Plot A(2,3) and B(2,5). What is the midpoint of points A and B?
Plot A(2,3) and B(2,5). What is the midpoint of points A and B?