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

1. carne pescado verdura fruta bebida 2. carne pescado verdura fruta bebida 3. carne pescado verdura fruta bebida 4. carne pescado verdura fruta bebida 5. c
Kirin deposited $200 per months in a bank's recurring deposit account. If The bank posts interest at the rate of 11% per annum. Find The amount, that she gets o
x newspapers plus 10 Write an algebraic expression for this question
ZC is an altitude, m∠CYW (5x + 22)°, and m∠WZC (12x)°. Find m∠WZC A) 32 ° B) 45 ° C) 48 ° D) 20 °
Based on FAA estimates the average age of the fleets of the 10 largest U.S. commercial passenger carriers is 13.4 years with a standard deviation of 1.7 years.
"People who measure high in "conscientiousness" (strong sense of duty, discipline, impulse control) and "emotional stability" (even-temperedness) tend to be str
In which of the following ways are bacteria similar to birds
¿Quién les sirvió el pescado asado? (Miguel)
Determine which equation has the same solutions as the given equation 2x^2 - 12x - 50 = 0 A. (x-3)^2 = 16 B. (x - 6)^2 = 19 C. (x - 6)^2 = 31 D. (x - 3)^2 = 34
what’s 2+2x 234+47382939593939