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 type of punctuation should not typically be used in any kind of formal or professional writing?
On the first test, the mean is 70, the standard deviation is 5, and your score is 80. on the second test, the mean is 70, the standard deviation is 15, and your
Concrete can be purchased by the cubic yard. How much will it cost to pour a slab 13 feet by 13 feet by 2 inches for a patio if the concrete costs $44.00 per cu
Magdalena works with teens at the juvenile detention center. she helps the teens practice skills that will help them integrate back into school more effectively
Why was scout untalented in this area
What is the United States area in relationship to the world? A. first B. second C. third D.fourth
what do leases contain? a. utility bills b. the obligations of renters and landlords c. the interest payment on apartment building mortgages d. insurance clause
the sum of four times a number and 17 is 33. Find the number, please? I really need help!!
How could you combine the following two sentences into one compound sentence
hey can you please help me posted picture of question