5 A student is using the following algorithm with different values of \(A\) and \(B\).
| Line 10 | Input \(A , B\) |
| Line 20 | Let \(C = 0\) and let \(D = 0\) |
| Line 30 | Let \(C = C + A\) |
| Line 40 | Let \(D = D + B\) |
| Line 50 | If \(C = D\) then go to Line 110 |
| Line 60 | If \(C > D\) then go to Line 90 |
| Line 70 | Let \(C = C + A\) |
| Line 80 | Go to Line 50 |
| Line 90 | Let \(D = D + B\) |
| Line 100 | Go to Line 50 |
| Line 110 | Print \(C\) |
| Line 120 | End |
- Trace the algorithm in the case where \(A = 2\) and \(B = 3\).
- Trace the algorithm in the case where \(A = 6\) and \(B = 8\).
- State the purpose of the algorithm.
- Write down the final value of \(C\) in the case where \(A = 200\) and \(B = 300\).