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

David Siqueiros, a politically active Mexican muralist, was often jailed for his communist sympathies. Which of his works depicted a baby to symbolize the innoc
10. Which best describes the style of Salaverria's sculpture of a woman with a building rising out of her hand? A.modernism B. indigenismo C. surrealism D.
if $3,000 is invested at 7% for 6 months, how much simple interest is earned? a 105.00 b 150.50 c 180.00 d 210.00 in the example given in the above question wha
which statement best describes the pH of pure water
list reasons people wanted to end prohibition
which process results in two daughter cells each having the same number of chromosomes as the parent cell
What is blogging A. Online Journaling B. Posting in photo galleries C. Uploading movies online D. sharing photos on a social network Please help worth 10 poi
Can somebody help me? The question says Eighteen more than 4 times the quantity of a number increased by 1 is 14. Find the number.
the long-term results of drought and desertification in sub-saharan Africa is most likely caused by what
cheddar cheese costs 7.50 for 1 kg Marie buys 200 grams of cheddar cheese how much does she pay