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

Who suggested that a person’s physical characteristics could predict whether they were criminal or not?
A mass of 63.658 g of carbon contains how many miles
At the top of each note card, the researcher should write _____. the note the library call number the title of the book or article a general heading
13,000 Ml equal how any Liters. 4,000mL equal how Liters. 8 liters equal how many mL
A shoreline is eroding at a rate of 1/3 foot per 3 months . How many feet are eroding per year?
what are 2 different ways to find the distribute property of 127and 32
what is the purpose of zigzag line on a periodic table ?
A nondirectional alternative hypothesis claims that no difference will be found between the research variables. a. True b. False
Haddie wrote a check to the grocery store for $156.00. However, when she looks at her check register later that night, she sees she only has $122.66 in her chec
A conclusion should: _____. restate the thesis summarize the main points repeat the introduction word-for-word be imaginative