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

The mucus-secreting cells prevalent in simple columnar epithelium are known as a) goblet cells b) cup cells c) chalice cells d) mucocells
a system of linear inequalities is shown below y - x is less than 0 + y -1 is greater than 0 which of the following graphs represents the solution set to the sy
Which part of the nervouds system consists of the brain and spinal cord: a. PNS b. ANSI c. CNS d. somatic
How many quarters are there in 31/4
A physics professor is pushed up a ramp inclined upward at 30.0° above the horizontal as she sits in her desk chair, which slides on frictionless rollers. the c
2/3 x − 9 − 2x + 2 = 1 Which is an equivalent equation after combining like terms? a: 8/3 x - 11= 1 b:-4/3 x-7=1 c: 8/3x-7=1 D: -4/3x-11=1
tell me some examples for active voice and passie voice​
Herniations of the intestinal mucosa are called a. diverticula b. tanea coli c. lacteals d. Peyer's patches
A normal man and normal woman marry. What is the chance that they will produce a male child with Down's syndrome?
Spectrin is a protein found in all eukaryotic cells that provide support to the plasma membrane. a. True b. False