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

5.)which of the following is the best example of pair of lines that are parallel?A. con consecutive sides of a windowB. intersection intersection of roadwaysC.
What will happen to levels of ATP in a muscle cell of an individual that stops consuming carbohydrates and other sources of sugar in his diet? Select ALL that a
Someone help me extra points & brainlest
13. Find the part of the whole of 0.9% of 1,000. Draw model if necessary a) 9 b) 90 c) 0.9 d)900
4. What is the volume of the cereal box? cereal 18 in 3 in 12 in 135
A rectangular playing field is 70 yards long. Its area is 3,150 yards what is the width of the feild
If you spin the spinner 48 times, how many times would you expect to spin a number that is a multiple of 5?
Multiplying by which number is equivalent to finding 123.123%?
How was the African American experience different than that of white people during the Great Depression?
Solve the inequality and graph the solution set. -3 ≤ 2x + 3 < 7