mcsnipes143 mcsnipes143
  • 06-02-2022
  • Computers and Technology
contestada

Determine what is printed by the following code.

Determine what is printed by the following code class=

Respuesta :

tonb
tonb tonb
  • 07-02-2022

Answer:

18

Explanation:

a will get the values 3,6,9,12,15 and 18.

sum will get the values 0,3,9,18,30 and 45. When it gets to 45, the loop will not be executed anymore.

At that point, a is 18.

Answer Link

Otras preguntas

Which sentence correctly uses commas to separate items in a list? The deacidification process preserves pages by neutralizing acid with magnesium oxide, raisin
Why is an injury to the brain stem considered critical
which of the following is an example of an outdated theory based on the consensus of the scientific community A. big bang B. geocentric solar system C. heliocen
Prove that an element has an order in an abelian group
Which invention most contributed to the spread of both the Ottoman and Safavid empires? astrolabe illumination quadrant gunpowder
For each set of elements represented in this periodic table outline, identify the principal quantum number, n, and the azimuthal quantum number, ℓ, for the high
A chart value that originates in a worksheet cell is referred to as ________.
____ results in an abnormal yellow skin color and is caused by a disorder of the _____.
Which two factors does the power of a machine depend on
a rectangle has side lengths (2x-5) meters and (2x+6) meters. write and simplify an expression to represent the perimeter of the rectangle