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

Suppose that you are riding a bike away from your dog who sits and watches you leave. If you use the bicycle as a reference frame, how does your dog appear to
summarize the main contributions of copernicus, brahe,kepler,galileo,and newton
Please solve the following simultaneous equation: 4x-3y=15 8x^2-27y^2=45
Ventifacts are created by a process of erosion called
Bonding is described as the adaptation an infant develops only in his home environment. t/f
What major topic do both Edgar Allan Poe’s “The Philosophy of Composition” and Stephen King’s On Writing address?
Subtract the sum of 71.1 and 3.96 from 112.5
Compare 7∕8 with 14∕16 using ( <, >, =). A. 7∕8 < 14∕16 B. 7∕8 > 14∕16 C. 7∕8 = 14∕16
What recommendations and conclusions can you make on this issue to:government :communities
when is Agents does adverb clause modify an infinitive in the North Atlantic underlined where the Titanic sank, large icebergs are common during cold months