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

BRAINLIESTTTT ASAP!!!!!!!!
Earthquakes and volcanic eruptions are examples of rapid events that are caused by the movement of Earth's _______. Mountain building is a much more slow proces
One role of the narrator in The Glass Menagerie is as the person who __________. Question 2 options: A. sets the other characters straight when they are wrong
Question 1(Multiple Choice Worth 5 points) The map below shows population growth rates for countries in modern Europe. Use the map to answer the following quest
Evaluate the expression. If necessary, round to the nearest hundredth. log 1,000 3 103 1/3
Why are cable networks such as mtv and cnn more profitable than the big four broadcast networks?
isaac is experiencing confusion, problems with coordination, and slowed breathing. he is showing a lack of good judgement. he has also been struggling with memo
Which sentence is punctuated correctly? The treasure hunter visited Folletts Island, Texas, Galveston Island, Texas, and Culiacán, Sinaloa. The treasure hunter
How long did it take for the 13th Amendment to be ratified by state legislature's after it was passed by Congress
The Norwegian bobsled team should have been very proud of its excellent time. What is the linking verb in the sentence? should have should have been been have b