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 is the definition and job of a centriole
Which sentence best describes the main effect of the English Bill of Rights? It gave Parliament the right to elect a successor when a monarch died. It ensured
laura 12 shells on the beach. these shells represent 1/4 of the shells in her whole collection. how man shells does laura have in her whole collection
help me label the respiratory system
Choose a poem from Whitman, and explain how it reveals Romantic thinking. Cite examples from the poem as your support.
(lavar/lavarse josefina las manos en el lavabo. josefina la ropa en casa de su madre. (peinar/peinarse (yo a mi hermana todas las ma?anas. (yo en el ba?o, delan
The total value of the account is based on the function f(x) = q • 1.025x, where x represents the number of years the money has been in the account. if no depos
7/8 x c for c = 8 How do I solve this?
By delegating tasks to other team members during a busy shift, employees are practicing which of the following? A. time management B. energy management C. int
Darnell went to the movies with his freinds.the movie started at 2:35 p.m and lasted 1 hour 45 minutes.what time did the movie end?