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 returnExplanation / Answer
I though I did give a rating use this person. I do apologize.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.