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

How did Voltaire feel about censorship ?
The LCD of 7/10 and 1/4 is 40. true or false?
-7 + (-6) = 1 -13 -1 13
who is most likely suicidal and should seek help
Find the sum using fraction bars or a paper and pencil. Write your answer in simplest form. 1/3 + 1/4
Which organization did President Kennedy establish to allow Americans to share their knowledge and experience with the poor nations of the world? A. Earth Cor
PLEASE ANSWER QUIC, forget the answer I put
the idea "southern cooking" is
Why does the body respond to stress? A- to defend itself B- to awaken itself C- to reserve it's resources D- to fully restore motor activity
Which of the following is a poor label for a category level file folder?