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

"A painter needs to cover a triangular region 62 meters by 66 meters by 72 meters. A can of paint covers 70 square meters. How many cans will be needed?
Can someone help me please??
Which number is the best approximation for 45√−23√ ?
(03.01 LC) What was the most influential religion in the Songhai Empire? Judaism Animism Islam Christianity
A floor lamp originally cost $44.50. Over a period of two months, it underwent the following changes in price. 62% Markup 15% Markdown 18% Markup 20% Markup 45
Pls HELP!!!! Help!!
Describe the evidence charles darwin gathered that led to his theory of evolution
two kilograms of ground cinnamon is packaged into bags containing 38 grams each.there will also be cinnamon left over.how many bags will there be?
chickens cutlets are on sale for $3.48 per pound how much will it cost o buy 3.5 pounds of chicken cutlets?
Who was charged with war crimes and prosecuted at the nuremberg trials?