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 surface area of the square pyramid. Enter your answer in the box. A square pyramid. The side length of the base is 11 centimeters. The height of each o
Find the measure of side b
geometry please help (pentagons)
2 ³✓3 × 3✓2 please answer this fast
The early Democratic-Republican Party believed that the United States?
There is now increasing evidence about the harmful effects of chronic inflammation in general. it is implicated in a whole series of degenerative illnesses. wha
The carbon cycle involves an exchange of carbon between _______. a. the geosphere and atmosphere b. the atmosphere and hydrosphere c. the geosphere and hydrosph
A museum groundskeeper is creating a semicircular statuary garden with a diameter of 27 feet. There will be a fence around the garden. The fencing costs $7.75 p
NASA made history in 1969 by landing a man on the moon. NASA is America's space agency. Directions Icon Combine the sentences into one sentence. Do not change a
This is “emergency” BUT I NEED THE ANSWER BY TODAY!!! How do “commerce clause” relate to gun free school zone act? Also how does the 10th amendment relate to t