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

X+23=-23 solve for x pls help !!!!
Why can't we see all types of waves in the electromagnetic spectrum?
A 0.025m radius toy top is spinning at a rate of 150rpm, what is the angular velocity? What is the linear velocity of the paint on the outside edge?
Angie’s dishwasher breaks. She calls out the service repair people who charge her $86.45 in parts and $45 per hour in labor. it takes 2 1/3 hours to complete th
Using "Hace que" structure taught in this lesson,Tell how long ago it has been since you took a trip. Then tell where you went and what you did there. plz make
which characteristic of the neolithic revolution helped lead our growth of early river valley civilizations? A. migration of animal herds caused people to trave
population density is the number of people per unit of area. the poulation density of a certain region is 60 people per square kilometer. if the region covers 2
I'll give brainliest to whoever shows there work. Plz answer before 2: 30 pm. The table below shows the number of cars sold each month for 5 months at two deale
1. Solve w=x+y/z for y. 2. Solve the equation above for z.
Three different two digit numbers total is 286.what is the smallest of the three numbers