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

President John F. Kennedy said the Cold War was a battle for what of people? a. hearts or minds b. communism or democracy c. hearts and souls
What happens to the body after a stressful situation
is it possible for a human to be an autotroph? why or why not
General became president without an election, how did he become president?
Kindergarten grade Create story with 10 spelling with 6 complete sentence. 1.wrote2.gnat3.kneepad 4.knot5.wrong6.knew7.gnaw 8.been9.children10.month 11.question
for what a manufacturer spends for goods or services.
Which of the following produces a magnetic field?
Which one of the following is NOT a cause of obesity? A) Overeating B) Insufficient exercise C) genetics and hormonal disorders D) Type 2 diabetes
Major roles in operas are called "principals." True or False
CAN SOMEONE HELP REALLY QUICK? The base of a rectangular pyramid has side lengths of 6 inches and 8.5 inches. The height of the pyramid is 12 inches. What is th