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

Which phase(s) would experience an increase in the rate of dissolution with an increase in temperature? A. gases only B. solids only C. liquids only D. both
Can someone write me a long story about a love triangle? (school appropriate)
Consider the model depicting the dynamics within a specific population of birds. Which input within this model is responsible for gene flow and therefore genet
if there are 16 ounces in a pound how manyh are in 24 ounces
7×13 = 7 times parentheses blank +3 parentheses equals seven times blank parentheses +3×7×3 equals blank plus blank equals blank
You are a manager who works directly with employees that are new to the company. Do you want to have a narrow span of control or a wide span of control? Why?
Which will diffuse through a membrane more rapidly, co or n2? assume that the samples contain only the most abundant isotopes of each element, 12c, 16o, and 14n
Can please help! 10. Write an inverse variation to model the situation and answer the question. Two rectangular fields have the same area. One measures 75 yd b
Which of the following developments took place during the presidency of George Bush? The U.S. completed research and testing on the Strategic Defense Initiative
What is the smallest integer greater than square root of 148 ? A. 13 B. 15 C. 14 D. 12 E. 11