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

The general flow of air from the poles to the equator occurs _____. A. in the stratosphere B. in the upper troposphere C. at the surface of the Earth D. only on
Jan received -22 points on her exam. She got 11 questions wrong out of 50 questions. How much was Jan penalized for each wrong answer?
Marie has stole my heart. is this sentence correct
Please help! (Number 17)
Why was the battle of gettysburg an important turning point in the war?
The fish in the aquarium have eaten all their food what principal part is the main verb
You find a sales receipt from a store that shows the total price as $40, and the total amount paid including sales tax as $42. Write an equation you can use to
What happened to jewish children after the night of broken glass?
Es necesario que____ informacion. A. pides B. pido C. pidamos D. pedir
Which statement best characterizes chemical reactions