Title: Flowchart Algorithm Analysis and Table Creation
1. Trace the algorithm described by the flowchart below and determine the values of R1 and R2 in each loop at the conditional points (A and B in the flowchart). Create a table like the one below, listing these values through each loop until the program reaches 'exit'. Also, list the number of times the loop will execute and the final values of R1 and R2 when the program exits.
| Loop | R1 | R2 |
|------|----|----|
| 1 | 3 | 0 |
| 2 | 2 | 1 |
| 3 | 1 | 2 |
| 4 | 0 | 3 |
Number of times the loop will execute: 4
Final values of R1 and R2 when the program exits: R1 = 0, R2 = 3