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

An area near a hazardous materials incident that is upwind from the incident and on higher ground is a good location for a:
A rectangular floor of area 360 m2 is going to be tiled. Each tile is rectangular, and has an area of 240 cm2. An exact number of tiles can be put into the spac
Solve for x. Round to the nearest tenth, if necessary.
help please!!!!!!!!!!!!!!!!!!!!!:):)​
hello, can you tell me what font has the oreo logo please
I can't find the descriptions online. Whats epidermal acanthosis, papillary dermal fibrosis, and parakeratosis? It did say parakeratosis is from lack of zinc bu
A normal distribution has \mu = 65 and \sigma = 10. Find the probability that the average score of a group of n = 4 people is between 70 and 75 (both limits inc
express the ratio as a fraction in the lowest term.3600s:2hours​
the justices and freedom for Cameron Herron​
Complete the sentence- Friction always acts 1  along the direction of the motion. 2  opposite to the motion. 3  both of these. 4  none of these.​