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

Carbon is symbolized by one letter, while calcium is symbolized by two letters.​
HELP! NO LINKS! GEOMETRY! Giving brainliest!!!!!!!!
On August 23, Carlito Rosselini had $1,432.19 in his savings account at Camden Savings and Trust. The account earns 5.5% interest compounded daily. What will be
The perimeter of a rectangle is 64 m and its length is 3 times its width, what is the length of the Rectangle?
Make x the subject. 1) а — x =y2) m = k – x 3) k - t2x = m​
In his or her role as ______________, the governor of Virginia represents all Virginians.
can someone solve with explanation plz?​
PLEASE ANSWER QUICK LARGE BURSTS of ENERGY are RELEASED in CELLULAR RESPIRATION in order that MITOCHONDRIA can operate properly Select one: True False
Greg deposits $500 into an account that pays simple interest at a rate of % 3 per year. How much interest will he be paid in the first 6 years?
Liability insurance is… A. Insurance that will pay for damage to your car in the event of an accident B. Insurance that will cover injuries to yourself in the e