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

Please help me complete this chart. No URLS
50 points!!Solve |y + 2|>6 A. {y|y<-8 or y>4}B. {y|y<-6 or y>6} C. {y|y<-4 or y>4}
Sam’s teacher asked him to make observations about animals at the zoo. sam went to the zoo and filled in these two charts that the teacher gave him. what is the
What is the difference between metallic and non metallic oxides?​
this is important to meee help
Screenshot attached please help i need the answer quickly there are 2 problems so please solve all of them
What element or principles can you find in the painting heaven by Mary Hellman ? Need help please ! Explain how these elements or principle shown in the artwor
When three or more numbers are added, the sum is the same regardless of the grouping. Which property is this Associative, Commutative, or Distributive property
What year did the united states first stablish a federal army
What was the Marshal's plan?