Kizspy | Question: 31
(Choose 1 answer)
To make this algorithm functional, which step would you add to step 4?1.
Scan to find the smallest number
Set to 0 in the index in the output array
4.
1234 3.Remove that number from the input array
A. Repeat steps 1-3, but subtract the total from the numbers summated
B. Repeat steps 1-3, but add 1 to the index number for each loop
C. Print output in the correct order
D. Divide the array by the index, print the array output