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

Meiosis is different from the process shown because, during meiosis, A) chromosomes are not replicated. B) two gametes are made for every original cell. C) four
-3/5x+y=-4 What is the slope-intercept form? I'm in 7th grade.
why did the weimar republic collapse?
How were state constitutions important to the writing of the U.S. Constitution? A. Most states had learned that having a strong central government was a mista
Landfill waste results in air pollution as _______. a. garbage decomposes and releases methane b. radon trapped in garbage is released c. paint and hairspray ca
6x-5y=22 y=-8 using systems of equations by substitution
Write in vertex form: y = x2 - 8x + 19
The system of equations is inconsistent. What are the missing values? Y=2/3x + 3 Y=__/__x + 5 Fill in the blanks
Order the ratios from least to greatest: 7:2, 12:4, 20:6, 21:14, 10:5
Do natural numbers have multiplicative inverse