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

If the price of an Economics e-text was equal to $45.00 and the quantity sold was equal to 125, then the total revenue would equal $3,625. True or False?
Which statement BEST describes the difference between arithmetic density and agricultural density? My answer- A. Agricultural density focuses on people, and ari
An area of a triangle is 30cm^2. Side c is 2x + 3 and side b is 4x + 5. The only angle is angle A, 30°. What is the value of x?
Which technology do environmental scientists use to photograph and report poaching activities? A. Global Positioning System (GPS) B. Geographic information syst
Evaluate 6y + x9 When x = -5, y = -4
how was the American Red Cross funded​
find the reciprocal of 2/5​
This body system breaks down nutrients so they can be used by the body. It includes organs such as the esophagus, stomach, liver and intestines. Skeletal System
(6+5/x)²pls help me​
Katerina runs 15 miles in 2 1/2 hours what is the average number of minutes it takes her to run 1 mile?