Question: 7. (8 points) Given the following program, complete the trace table for variables a, and b. Track the values at the end of each iteration

 7. (8 points) Given the following program, complete the trace table

7. (8 points) Given the following program, complete the trace table for variables a, and b. Track the values at the end of each iteration (after line 9) a 21; 2 b=15; while not (a-- b) if (a> b) a -a -b; 6 else b-b-a; end end disp (a); Iteration Initial 21 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!