Pseudo code. Algorithm arrayMax(A, n). Input array A of n integers. Output the maximum element of A. currentMax ← A[0] for i ← 1 to n - 1 do.
確定! 回上一頁