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

what is 2 thirds plus 3 sevenths
Surface AreaI need help
A molecule of ammonia (NH3) contains
Help very appreciated thank you!!
What would (-2-2x)/1 be?
Chinese and Japanese architects used ____________ to distribute the heavy weight of a roof onto slender wooden columns.
This sculpture from the Hellenistic period is entitled, _____________________. a. The Wrath of the God Apollo b. Nike of Samothrace c. Athena Attacking the Gian
Explain how the conflict between conscience and law is resolved, how theme is revealed through resolution, and what you can learn about the ancient Greek cultur
Two hundred grams of a substance requires 18.8 kj of heat to raise its temperature from 25°C to 45°C. Use the table to identify the substance.
what does the metaphor cashing a check mean