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

When you use _______ to define a word, you should use nouns to define nouns, verbs to define verbs, and adjectives to define adjectives. A. homonyms B. antony
Factor completely 5ab(x + 6) − 4(x + 6).
You are working in an emergency care center. a person comes in dehydrated and the doctor orders a hypertonic solution. explain why this solution is used instead
Federal tax legislation generally originates in what body? a. internal revenue service b. senate finance committee c. house ways and means committee d. senate f
Explain what sustainability is, and describe why it is a goal of environmental science.
The​ specific-to-general arrangement is a very effective way to
3x (2•5) + 45= n What is n???
to solve the equation |x-9|=0.5x, kiana graphed the functions f(x)=|x-9| and g(x)=0.5x on the same set of coordinate axes. She then found that the graphs inters
Briefly explain the use of graphs as a way to represent economic relationships
An originally neutral stimulus that is paired with an unconditioned stimulus and eventually produces the