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 sentence has a grammatical or spelling error?Every Friday, she closes the store after she arranged the mannequins in the window to display the new merchan
A : 98 B : 31.1 C : 14 D : 9.9 Please help :(
how many christian denominations are in the united states
Which source of evidence did Wegener use to support his theory of continental drift? fossils found on Earth magnetic fields of Earth satellite mapping of the tr
what is the answer to 3x+2=2x+13/3pleasseee help!!
what food is traditionally eaten for luck in the southern u.s. on new year’s day?
Answer the following question in complete sentences: The formal amendment process of the U.S Constitution is often described as reflecting the principles of fed
Which is equivalent to 34? A. 3 x 3 x 3 x 3 = 81 B. 3 x 4 = 12 C. 4 x 4 x 4 = 64 D. 3 + 3 + 3 + 3 = 12
Help me out please I’m stuck on this problem
By A.D. 325, Christianity had spread mostly to what region