Here the array elements are obtained from the user and the sum is first calculated. Average is then found by dividing the sum by the number of terms.
確定! 回上一頁