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 product. 3 2 5 x 5 3 A) 2 B) 17 3 C) 3 17 D) 81 25
Jeff purchases a $37,000 property, depositing $3,000 as earnest money. If Jeff obtains a 75% loan-to-value loan on the property, no additional items are prorate
• Here in Kentucky, sales tax is 6%. If the price of the car is $9400, what is its sales tax?
Which of the following is FALSE? A Financial intermediaries exist to reduce frictions in financial transactions. B Investment banks mainly collect deposits and
What is scarcity and can u give websites to explain this and some examples?
Alberto has a mass of 52.2kg and then gains 2kg . Frank has a mass of 48.8 and then loses 3kg . After their weight change what is Albee and frank's mass
In Kravonia, the average salary for jobs requiring a college degree has always been higher than the average salary for jobs that do not require a degree. Curren
What is adaptive radiation? O A. A decrease in the rate of speciation O B. An adaptation that harms an organism O C. The process of learning new adaptations D.
Please help, must be done by today
After the compiling process is complete and a program is ready for execution, the MSIL reads the CLR in RAM in a form that allows the computer's CPU to execute