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

Which function family would be used to solve the following question? Sheldon is cleaning out the closet in his spare bedroom. He has been able to decrease the n
Javi y Alicia we alegran de encontrarse despues de dos anos de separacion
Write 2 - 2+ √ 3 in the form of a+b √ 3, where a and b are integers. Tell me if it’s right. 2 - 2+ √ 3= 2(2-√ 3) —
Please help! I need it really bad! quick question for 15 POINTS!
I need help with this problem
1. What was one way that colonial governments differed from the British government?
I need this number in standard form
A number divided by 12 is equal to 27
20. You really want to buy a used car for $11,000, but can only afford $200 a month. What interest rate would you need to find to be able to afford the car, ass
from 74 hours to 85 hours find each percent change to the nearest percent if state if it's an increase or decrease​