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

What is ZT? 4x + 1 W Х 2x T Z Y 5x - 6 A 7 B. 14 C. 28 D. 29
An error has been made in subtracting the two polynomials shown in the work below the problem is (6x^2-4x-5)-(3x^2-7x=2)
Which of the following is a buffer system? A. NaCl and NaNO3 B. H2CO3 and KHCO3 C. HCl and NaOH D. H2O and HCl E. NaCl and NaOH
What was the name of the guy who educated over 1000 former slaves?
Analyze the ways in which fear and suspense are introduced and maintained during this play’s developing plot. Consider how the suspense naturally causes the rea
How did God protect Moses from death when he was a baby? Use complete sentences.
"I couldn't marry him," said Debra. "I wouldn't be able to tolerate my two _____ attitudes." sisters-in-law's sister's-in-law sisters-in-laws' sisters'-in-law
Which of the alkyne addition reactions below involve(s) an enol intermediate? 1) halogenation. 2) hydrogen in the presence of a metal catalyst. 3) hydroborati
there are 2 answer forms that say:1. What is the MEAN of the set of numbers? a. 116b. 348c. 6972. What is the Mean Absolute Deviation (average of the difference
answer please im begging you QwQ