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

The height of a student is 172 centimeters. How tall is the student in meters?
__________ disorders are psychological difficulties that take on a physical form, but for which there is no medical cause.
is solid copper sulphate a conductor or insulator
Which gland helps the body prepare for and handle stress? a. pancreas b. adrenal gland c. pituitary gland d. thyroid gland
You usually buy a 5.4 ounce bottle of lotion there is a new bottle that says it gives you 20% more free what is the equation
Mia,Carolina,and Katrina volunteer to collect recyclables.They collect 30.15 kilograms all together.How much did each person collect evenly
What is the approximate volume of a cone with a height of 9 ft and radius of 3 ft? Use 3.14 to approximate pi, and express your final answer to the nearest tent
what is 3x^4+2x^3-5x^2-4 divided by x+2?
On a soccer team, 8 out of 19 players surveyed say they had two or more siblings. The league has 570 players. Which is the best prediction of the number of play
A force (F) applied to an object of mass m1 produces an acceleration of 3.00 m/s^2. The same force applied to a second object of mass m2 produces an accelerati