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

Help plz I have 6 minutes
How is the Great Plains region important to the US development
Pompeii, Inc., has sales of $49,000, costs of $22,600, depreciation expense of $2,150, and interest expense of $1,900. If the tax rate is 21 percent, what is th
What is the gradient of the graph shown? Give your answer in simplest form
The CPA Practice Advisor reports that the mean preparation fee for 2017 federal income tax returns was $273. Use this price as the population mean and assume th
Having some difficulty with this test, can you please help?
what is 6479 rounded to the nearest 1000​
Which option is most clearly an example of satire? O A. A pamphlet that lists complaints about the government B. A fairy tale that provides a moral lesson at th
How many stereoisomers are possible for CHCl3 provided that the central carbon has a tetrahedral geometry
Which one of the following affects cash during a period? a. Recording depreciation expense b. Declaration of a cash dividend c. Write-off of an uncollectible