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

Kindly answer this:-[tex] \sin(45 + x) - \cos(45 - x) = ?[/tex]​
SAY HELLO TO THE WORLD
If you suspected a friend was suffering from poor body image or an eating disorder, what would you do? How would you help them?
The ________ method determines the budget required to undertake specific tasks to accomplish communication objectives.
In the context of the passage, what are the effects of prejudice? How did prejudice drive the opinions and actions of those surrounding the Scottsboro Boys from
Karen and Al obtained a 30-year fixed-rate, fully amortized loan when they purchased their home. Which statement is true
Why do we go to school all the time and waste our lives with school and work?
what is 5 1/2 diided by 1/10
Brandon is a leader who spends a great deal of time organizing tasks and schedules for his subordinates. He tends to spend very little time, however, supporting
I don’t wanna fail if you know the answer pls help :(