Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

what are the final values of variables a, b, and c, after thefollowing program r

ID: 3608744 • Letter: W

Question

what are the final values of variables a, b, and c, after thefollowing program runs?            start                   a= 2                  b = 4                  c = 10                  while c > 6                        perform changeBAndC ( )                  endwhile                  if a = 2 then                        perform changeAAndB ( )                   endif                  if c = 10 then                        perform changeAAndB ( )                  else                        perform changeBAndC ( )                   endif                  print a, b, c              stop              changeBAndC ( )                     b = b + 1                     c = c - 1               return              changeAAndB ( )                     a = a + 1                     b + b - 1               return what are the final values of variables a, b, and c, after thefollowing program runs?            start                   a= 2                  b = 4                  c = 10                  while c > 6                        perform changeBAndC ( )                  endwhile                  if a = 2 then                        perform changeAAndB ( )                   endif                  if c = 10 then                        perform changeAAndB ( )                  else                        perform changeBAndC ( )                   endif                  print a, b, c              stop              changeBAndC ( )                     b = b + 1                     c = c - 1               return              changeAAndB ( )                     a = a + 1                     b + b - 1               return

Explanation / Answer

I though I did give a rating use this person. I do apologize.