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 grade you earn for a specific course is an example of _____.
If the town of olathe decides to tell sandi how to run her business
Is .277277277 irrational
What are the two major misuses of resources geographers observe?
how are we affected by international business?
What latin phrase is used with the primary authors name when a book has more then three authors?
A truck travels on the highway at a speed of 72 miles per hour. What is the speed of the truck in feet per second
What is the name of the range of the Alpine Mountain System that runs through central region? Balkans Baltic Carpathian Pyrenees
What happened immediately BEFORE the car was lifted off the ground? A) The debris flew through the air. B) The traffic light stopped working. C) The writer he
What's the answer to this question ? I've been really confused for the past 20 minutes