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

making sure everything works the way, it should before you let it out is known as___________ a) designing b) testing c) planning d) developing
Genes are found on dna which makes up chromosomes in the nucleus of a cell
what is the answer of 3m-10=2(4m-5)
A prime number between 32 and 36
What does it mean for a relationship between two variables to be a function
I need to factor this out
translate Spanish to english
How do direct democracy and representative democracy differ?
the foreign affairs powers of congress come from the constitution and
which of the 3 was born earlier?is it donna karan, michael jordan, or ben stiller?