kiahsmith5942 kiahsmith5942
  • 04-03-2024
  • Computers and Technology
contestada

What will be the value of sum after this code runs?
var START = 1;
var END = 4;
function start(){
var sum = 0;
for(var i = START; i <= END; i++){
sum += i;
}
}
A) 14
B) 10
C) 12
D) 15

Respuesta :

Otras preguntas

What times what will give m the answer 64
Scientists best apply critical thinking in their work through _______. a. the scientific method b. observation c. hypotheses d. experimentation
find the difference between 12.34 and 10.778. round the answer to the nearest tenths place
what is 3/4 times 1/2 and what is 1.5 times 0.75 and then i need to figure out how much bigger the answer is to 1.5 times 0.75 is to 3/4 times 1/2
What is the term utilized when union workers refuse to work due to contractual disagreements
what is 1/10 of 0.09 ?
simplify using order of operations(PEMDAS):(2^3x6)-3^2
How can you show your work with the numbers 400 ,15,and 6 to get the answer 160
Round 125,458 to the nearest hundred thousand
ammar hikes 23/4 miles of nature trail in 1 hour and 15 min .How many miles of trail does ammar hike per hour? pleas help me to understand this