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

Describe the kinds of propaganda used in reporting about the boston massacre
6. Directions: Drag each item to the correct location on the diagram. Many of the astronomical events that can be witnessed from the Earth's surface can be expl
What is 5/15 written in simplest form?
It can be said that ____ laid the foundation for the industrial revolution.
As air temperature approaches the dew point, what happens to the relative humidity?
how does maycomb react to the news if toms death
is x-6 a factor of 3x^3-16x^2-72?
Normal faults that come in pairs usually display the geological feature of _____. A : monoclines B : anticlines and synclines C : horsts and grabens D : fault-b
Which concept of democracy does the stamen below define? everyone is significant in a democracy. a. fundamental worth of every person b. equality of all perso
Which is the coefficient in the expression 7x 14?