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

Why did B.F. Skinner go against traditional methods of classical conditioning? A. Because there were no proven facts that classical conditioning had worked on h
An object is moving on a frictionless surface to the right and experiencing a net force that is directed to the right. The magnitude of the force is decreasing
Brianna is very good at keeping her school binder organized. Every time her teacher returns an assignment, Brianna puts it in the right section. Brianna has 113
HI PLEASE HELP!! (question 21)
Why do you think this is important to know before we start reading his play about the salem witch trials, "the crucible?".
6 more than the product of 8 and a number Z
What is the total number of subatomic particles found in the nucleus of an atom of argon?.
Gabriel owns 27 fiction books and 23 nonfiction books. Each shelf can hold 8 books..
Exercise 2. Find m∠1 and m∠2
20. To calculate your electric bill for your home, DTE uses the following equation: C = 5 + 4e where C is how much they charge you and e is the amount of electr
good job