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

Solar energy that has been absorbed by the hydrosphere is transported around the Earth by? A.currents and winds. B.radiation in the hydrosphere. C.reflection i
What was the name of the magnificent temple that Athenians built atop the Acropolis during the Golden Age? A. Artemis B. Delphi C. Olympia D. Parthenon
Which sentences use a colon correctly? Choose all answers that are correct. A. The ingredients she uses are: tomatoes, peppers, and olives. B. These dog toys a
I really need this ASAP! what is 14 2/7 as a fraction
Which of the radioactive emissions has the highest energy
What is (-8) + 11 + (-5)? -3 14 -24 -2
Which best explains the cause of Hank Aaron's aches and pains
a card is drawn from a standard deck.Which will have the greater probability,that the card is a 10 given that it is black or that the card is black given that i
Which answers are acceptable ways to hyphenate advantageous? Choose all answers that are correct. A. advan- tageous B. advanta- geous C. advant- ageous D. ad- v
Julio is running mile laps on a track. In order to run 15 miles, how many laps should Julio run?