STEP 1: Declare and initialize an array. · STEP 2: The variable sum will be used to calculate the sum of the elements. Initialize it to 0. · STEP 3: Loop through ...
確定! 回上一頁