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

NO LINKS How did Neo-Confucianism differ from Confucianism? NO LINKS a. It emphasized a return to a simpler, less complicated society. NO LINKS b. It stressed t
predict the product 1-bromo propane is treated with sodium metal
A small town had a population of 960 people last year. The population grew to 1200 people this year. By what percentage did the population grow? Please show how
How did yellow fever get it’s name?
Chronological order is I need help with dis plz
what is the name for goods and services produced in one country that are then sold in other countries?
What was the worst thing you have never done?
Find the slope of the line that passes through each pair of points and show your work (-3,-2),(-3,2)
PLS HELP I WILL GIVE BRAINLYEST Use the number line to find the distance between −10 and −4. Enter the answer into the box
Which branch of science deals with the study of the structures shown here? FISH AMPHIBIAN REPTILE BIRD?