tabir575
tabir575 tabir575
  • 06-01-2021
  • Computers and Technology
contestada

can someone help me with this trace table - its computer science

can someone help me with this trace table its computer science class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 06-01-2021

TThe while loop keeps going until count is greater than or equal to 10.

count = 0, sum = 0

count = 2, sum =2

count = 4, sum = 6

count = 6, sum = 12

count = 8, sum = 20

count = 10, sum = 30

Now that count is equal to 10, it exits the while loop and the program ends. The values above complete your trace table.

Answer Link

Otras preguntas

Which one of the following words shouldn't be capitalized? A,Abilene B,Red C,king. D,Cattle
Which one of the following words shouldn't be capitalized? A,Abilene B,Red C,king. D,Cattle
Which type of pronoun is bolded in the following sentence?Everyone loved the performance.
Name two structures other than DNA, that bacterial cells have but animal cell do not.
What is meant by power rating of an appliance? A bulb is rated as 60 W, 220V.What does itindicate?
HOW MANY ELECTRON MAKES 10 COULOMB OF CHARGE?
Which of the following are the most numerous in North America? Nations Countries Oceans States
Which of the following is/are part of the nitrogen cycle: a. eutrophication b. denitrification c. saturation d. all of the above
Which of the following is not a helping verb? A,must B,can C,would D,be
find solution to logarithm.