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

0=5y+4x+23, 6y-12=-3x
The original template for the process of protein synthesis is— a. DNA b. Messenger RNA c. Transfer RNA d. Ribosomal RNA
.. Mi padre y yo_____ el carro. (lavar)​
Tim is playing a game on his computer. He missed the first 12 questions, and each question is worth 6 points. If his starting score was zero and he has not gott
What were Newton’s other interest besides his work
Write 6.25 in expanded notation.
what is the reader opinion, and which evidence BEST supports it? the writers
if f(x)=x^2+4x-12. find f(2)
Paula ran 3 1/4 kilometers. Omar ran 4,200 meters. What is the total number of centimeters Omar and Paula ran?
Which number line shows the solution of 6x-12 > -6? A. -10 - - - -6 -5 4 2 -1 0 1 2 3 B. -10-9-8 -6 5. -2 -1 0 1 2 3 4 5 6 7 8 9 C. 69 -10-9-8 -6 -5 -4 الم r