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

All real number zeros of the polynomial 2x^4 + 4x^2 + 6x^9 - x + 3x^9 - 5x^9 + 2x^8
the initial population of a town is 2600, and it grows with a doubling time of 10 years. what will the population be in 8 years?
determine a relationship between the x- and y- values. write an equation. x =1 2 3 4 y = 4 5 6 7
Which expressions, when evaluated with x = –9, are negative in value? Choose all answers that are correct. A. –2x – 8 B. –26 – 2x C. 35 + 3x D. –3x
represent the number 1.16 using base ten blocks
Which fraction is equivalent to 2/7
A sand box has an area of 45 ft. The length is 4 feet longer than the width. What are the dimensions of the sand box? Solve by completing the square
1) Elizabeth works part-time to help pay for college. She has worked for the last 14 days without a day off for a total of 48 hours. Depending on her schedu
Which pronoun correctly completes the elliptical clause? You folded fewer towels than __________. A. him B. he
21.) Which best describes the antecedent in the sentence? Mr. Walker helped Larry with his Latin lessons, but he had to leave early. A. clear B. missing, unc