At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

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.