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

unlike other southern states south carolina peacefully implemented the desegregation of A. police department B. restaurants C. shcools D. hospitals
Strong recurrent urges and related fantasies related to sexual acts that involve being humiliated or made to suffer are characteristic of ________. these urges
What is the most accurate estimation of 4+8
Two functions, A and B, are described as follows: Function A y = 8x + 3 Function B The slope is 1 and the y-intercept is 4. How much more is the slope of fun
We have to do our homework before dinner. Then, we're free to watch TV or go outside. whats wrong with this sentence
Which of the following statements about idea models is not true?
How dreary to be somebody! How public, like a frog To tell your name the livelong day To an admiring bog! What do these lines indicate about Dickinson’s view of
A planning committee has decided to determine the zoning of a particular area based on data provided by the town engineer. Which social decision scheme has the
Find the angle complementary to the angle 80°.
Jenny is 34 years old and has a bmi of 28. her body type can be described as "pear-like". john is 55 years old with a bmi of 28, and a body type that is "apple-