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

0.66y = 0.9x + 0.48 If y has a value of 108.45 what is the value of x?
The number of lattes sold daily for two coffee shops is shown in the table: Lattes 12 52 57 33 51 15 46 45 Based on the data, what is the difference between the
to solve the system of equations below, grace isolated the variable y in the first equation and then substituted into the second equation. what was the resultin
Select the correct answer.Which scenario describes unethical lab behavior?O A. Danny stores the chemicals required for his experiment in flasks and beakers.B.An
Which shows how to solve the equation 3/4x=6 for x in one step?
what was the effect of Peace in europe after 1815​
A taxi cab charges $1.75 for the flat fee and $0.25 for each time. Write an in equality to determine how many miles Eddie can travel if he has $15 to spend.
How did conservatism affect the nationalist movements in Europe?​
the federal goveremnt ability to draft people into the army is?
The value of X is??​