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

What occurs at the anode of a galvanic cell? a. Solid-metal formation b. A reduction half-reaction c. An oxidation half-reaction d. The electroplating of anothe
Find the distance traveled at 52 miles per hour for 5 hours.
The ones responsible are Joe and her.It is me.Joe Smith,that's whom. Is there a word to replace her,me,and whom to make it proper grammar?
Find the length of X to the nearest whole number
Which word farther or further sounds correct in the following sentence: Jacob traveled farther or further than Rachel to attend the reunion.
wich word best completes this statement? adjacent angels are _________ congruent. A)40 B)50 C)140 D)180
Which sentence uses an intransitive verb? A. Pepe steered his bike away from traffic. B. We walked around the frozen pond. C. Connor baked some cookies for his
The mad hatter buys his tea in bulk from the loc 2.5 out of 5 based on 59 ratings. The mad hatter buys his tea in bulk from the local store.A case of 100 tea
how to measure and find the circumcenter of a triangle
plz help me this is really hard for me