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

Trophic pyramids demonstrate the "10 percent rule of ecological efficiency. applying this concept to sustainability, at which level would humans have the smalle
The mission of the national endowment of the arts, as defined when it was first funded in Congress in 1967 was_____
Solutions a and b are separated by a selectively permeable barrier (membrane). over time, the level of fluid on side a increases. which solution initially had t
Number 15 plz and thank you
If I would make a comic strip, what would it be
Both Jackie Robinson and Martin Luther King Jr. wrote letters that express their views on how to fight for equality for African Americans. How are their views s
nh term to 25 20 15 10 5
The planets Hox and Blox are near each other in the Dorgon system. The Dorgons have very advanced technology, and a Dorgon scientist wants to increase the pull
Your yearly office supply budget is $1,200. You spend $350 each year on paper. What percent of your budget do you spend on paper? A. 42% B. 29% C
Two less than one-sixth of a certain number is 1 more than one-fourth that number. what is the number?