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

if a organism haploid number is 10, what is it’s diploid number
Which best describes the projectile motion of the marble as it leaves the table at the two different speeds?
Which transformation is a rigid transformation?
Interruption of normal blood flow to part of the brain is known as __________. cerebrovascular disease hypertension atrial fibrillation arrhythmia
Help me, please easy Geometry question
A $3,000 annual contribution to a retirement account earning 6% will be worth ____ in 20 years.
Solve for R and S Please explain
Cuba’s success in medical research and practices is comparable to the general standards of a third-world country
acid rain can cause health problems in people True Or False​
Can someone please help me it would mean a lot! 3x - 4 = 6 + x