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

English history is often divided into eras named after the king or queen who ruled over the country during that time. This is an example of which of the followi
How does the use of enjambment enhance the feel of "A Jelly-Fish"
What did radical colonists and radical writings such as Common Sense urge the colonists to do? A) pay taxes to help Britain eliminate debt from the French and
HELPPPPPPPP PLEAEEEEEEEEEEEEEE??????????? Consider the technology we have today and what could be developed in the future. Sketch out a utopian society in which
Which pair of expressions is equivalent? A. 2(x + 5) and 2x + 10 B. 3x – 6 + 4x + 9 and 7x + 15 C. 4(y – 2) and 4y – 2 D. 5y + 12 – 3y and 2y – 12
According to research, what is the typical result of upward feedback?
Why was there no emporor of rome in the early dark ages?
In a recent experiment, anti-bacterial hand sanitizer was compared to hand soap. Students washed their hands using the sanitizer or soap and warm water for two
Determine if the equation is endothermic or exothermic examples
7 hundreds 3tens & 15 ones is what number?