Algorithm to find the smallest and largest numbers in an array. Input the array elements. Initialize small = large = arr[0]; Repeat from i = 2 ...
確定! 回上一頁