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

Help me please asapp
Hearing these words from his mother made Gregor realise that the lack of any direct human communication, along with the monotonous life led by the family during
Solve the following compound inequality: (1 point) -2(x+8) +6 > x-4 or -3x + 12 < 6(x-4) 0x<2 orx>4 Ox>2 orx<4 0x<-2 orx>4 Ox>-2 orx&
perpendicular to the line y =6 - 3x; passes through (-3, -1)
Which of the following is a solution to the equation x[tex]x^{2}[/tex]– 6x + 5 = 0?
graph g(x) = -8|x| +1
BRAINLIEST!! +30 pts They tried to make a story out of every theme that occurred to them and to get returns on every situation that suggested itself. They got r
The number of cars at a car dealership is reduced by 10% in the first sales quarter of the year. If the number of cars decreased an additional 20% over the seco
The New Deal refers to the economic recovery legislation passed by President Roosevelt and Congress. True False
what points does a legislature have to consider while formulating law?​