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 you have to do something, which infinitive expression do you use? Question 2 options: a) acabar de b) ir a c) tener que
Determine the normality of the following solutions note the species of interest is H 95 g of PO4 3- in 100mL solution
The pioneering psychologist_____________used a method called _____________ to enable subjects to examine their own mental processes.
A life jacket is designed to: keep the sun off your shoulders keep your head above water allow you to have more fun boating
What are the best steps to take if you are dissatisfied with the health related product that you have purchased?
(second power) negative second power
Substances can move across the plasma membrane in two different ways—actively or passively. This activity will help you determine whether transport mechanisms a
Determine the number of solutions that exist to the equation
Yo ______ mucha leche. Question 17 options: a) bebo b) bebes c) bebe d) bebemos
Dr. Smythe believes that in order to fully understand complex processes, such as taste, it is necessary to understand the purpose that taste plays in human adap