For 4×5 matrix, body of nested loops runs
- A
9 times
- B
5 times
- C
4 times
- Dcheck_circle
20 times
Explanation
4 rows × 5 columns = 20 iterations.
AP Computer Science A· difficulty 3/5
For 4×5 matrix, body of nested loops runs
9 times
5 times
4 times
20 times
Explanation
4 rows × 5 columns = 20 iterations.
Want 10 more like this — adaptive to your weak spots?