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 555-foot-tall Washington Monument in Washington, D.C., is an example of which of the following types of structures? a. pyramid b. geodesic dome c. obeli
What is the symbol of the Republican Party?
How to find the inverse of the function f(x)=2x-3 ? Please
According to marginal analysis, you should spend more time studying economics if the extra benefit from an additional hour of study: a. is positive. b. outweigh
If you visit the National Mall, where are you? a. Minneapolis, Minn. b. New York City, N.Y. c. Washington, D.C.
Two ratios (fractions) that are equal to each other.
y - y₁ = m(x - x₁) Slope-Intercept Form of the Line General Linear Form of the Line Point-Slope Form of the Line Slope Form
Mean that is computed with extra weight given to one or more variables of the sample. Weighted average Dependent variable Ordered pairs Like terms
Individuals who are approximately the same age and are linked by common interests, including friends, classmates, and the 'kids in the neighborhood,' are most
The song “America” by Neil Diamond conveys a positive message about what often contentious issue?