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

Find the mode of the data. Please :,(
Department R had 4,200 units in work in process that were 70% completed as to labor and overhead at the beginning of the period. During the period, 36,600 units
How do urban gardens bring us closer to the food on our plate, to nature, and each other?
in there pasage “made out of meat”in paragraph 49 what waS the central idea
Suppose that an individual has a body fat percentage of 16.7% and weighs 147 pounds. How many pounds of her weight is made up of fat? Round your answer to the
Which of the following environmental factors belongs to biotic factors? 1. Wind 2. Salinity 3. Soil moisture 4. Microorganism​​
Solve the inequality: 4-x<9
Answer these maybe? I’m confused
Has there ever been a pandemic because of hepatitis b? yes or no?
At midday (12pm, Noon), what is happening in the leaf of a plant? A) Cellular Respiration B) Photosynthesis C) Mainly photosynthesis and some cellular respirat