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

what four organ systems are used when running?
Why did southern farmers who owned no slaves supported slavery?
Which course of action does the theory of laissezfaire suggest a government should follow? (1) providing help for people in need (2) establishing businesses to
34 Given the balanced equation representing reaction: N2 + energy ==> N + N Which statement describes this reaction? ( I) Bonds are broken, and the reaction
What is the unit of measurement for power? A. m/s2 B. watts C. joules D. newtons
which expression represents 6 more than x?
All of the following became popular around the turn of the 20th century except a. European literature. b. professional baseball. c. vaudeville theater. d. amus
Many beverage companies are required to recycle bottles and cans because this activity directly reduces (1) air pollution and destruction of the ozone shield (2
Brody is organizing his action figures on a shelf. He wants to divid them equally among 4 shelves there are 37 action figures Brody says he will have2 left over
Explain why the lithosphere in the vicinity of Eyjafjallajökull is more volcanically active than most other regions of Earth’s surface.