✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
These lines of instruction may contain errors. Assume that all variables have been correctly declared. Find the errors.
arr <- {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
n <- 10
For i <- 1 to n Do
arr[i] <- arr[i] * 2
End For
Write(arr)