ALGORITHM: · STEP 1: START · STEP 2: INITIALIZE arr[] = {1, 2, 3, 4, 5} · STEP 3: SET sum = 0 · STEP 4: length= sizeof(arr)/sizeof(arr[0]) · STEP 5: SET i=0. REPEAT ...
確定! 回上一頁