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

I need help question
please find the answers for sin, cos, tan, cot, sec, and csc.
Using the table containing the breakdown of all employees on nonfarm payrolls in the United States during March 2014, findthe probability that a randomly select
Did I get the right answer ? Also need help with showing work but no substitution allowed :( !
Represent the following sentence as an algebraic expression, where “a number” is the letter x.7 times a number
WRITE THE RULE FOR THE TRANSLATION. A (X 1.x C D DI D
A jet with mass m=120000kg jet accelerates down the runway for takeoff at 2.2m/s^2. What is the net vertical force on the airplane as it accelerates for takeoff
B Ε D A Ε Which two triangles are congruent? Ο ΔΑΒC ΔΕFD Ο ΔABC_ΔΕΡΕ Ο ΔΑΒC2 DEE Ο Ο ΔΑΒΟ ΔΕΡΕ
which answer is it using the graph in the image?
(U.LL.2) A perfectly cube-shaped smelly candle has a volume of 125 cubic kilometers. What is the area of each side of the smelly candle?