Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Get immediate and reliable answers to your questions from a community of experienced experts on our platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

Determine what is printed by the following code.

Determine What Is Printed By The Following Code class=

Sagot :

tonb

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.