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

Jacob's marriages to Leah and Rachael produced _____ sons who would become the various tribes of Israel.a. 10b. 12c. 14d. 16
You say me When you count by tens. I am the 7th number you say when you start at 10. Then I am……
A grocery store sells a bag of 4 oranges for $2.84. How much would it cost for 5 oranges?
If the dominant phenotype parent of unknown genotype produces only dominant phenotype offspring in a testcross, the parent was: (answer by writing out the testc
the products in ? are the ? needed for cellular respiration.​
You change the angle of the slope in (Figure 1) a to 27.0 ∘ and use a different cart and a different bucket. You observe that the cart and bucket remain at rest
Use the power-reducing formulae to write the expression as a sum or difference of first powers with multiple angles. sin^6 theta
what is the most inspiring thing you've ever been told?
Which of the following was a goal of the Albany movement?
Jacob's marriages to Leah and Rachael produced _____ sons who would become the various tribes of Israel.a. 10b. 12c. 14d. 16