luislikesgames12
luislikesgames12 luislikesgames12
  • 01-12-2020
  • Computers and Technology
contestada

What number will be output by the console.log command on line 5?
A. 10
B. 25
C. 30
D. 35

What number will be output by the consolelog command on line 5 A 10 B 25 C 30 D 35 class=

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 06-12-2020

Answer:

The output is 35

Explanation:

Required

Determine the output on line 5

We start by analysing the program line by line.

On line 1: kit = 20

On line 2: roo = 10

On line 3: kit = kit + 5

Substitute 20 for kit.

So, we have

kit = 20 + 5

kit = 25

On line 4:

roo = kit + roo

Substitute values for kit and too

roo = 25 + 10

roo = 35

On line 5: Output roo

So, 35 is displayed as an output

Answer Link

Otras preguntas

what does the term manifest destiny imply?
What is the surface area of a sphere with a radius of 7 feet?
To construct a histogram using excel's chart tools, choose __________ as the chart type.
Suppose a mother carries two recessive genes for freckles (rr) and a father carries one recessive gene for freckles and one dominant gene for clear facial skin
What is the value of Kw at 25°C?
Factor 6y^2+13y+15 Please factor the trinomial
Express how you feel to the residents of your community who do not care about the enviroment
Help please These characters have only a couple of traits that define them as a character ..? A ) flat character B ) round character C) static character D)
The periodic table is an organized arrangement of the elements with each element specifically placed in position. All of the following are true except (My answe
The sale of sports cars in the United States during one year was 550,000. Two hundred five thousand cars had six cylinders and the rest had four cylinders. What