0
array "A" that has elements 3 variables as x, y, z 2 counters as i, j "i=0 & j=i+1 loop that takes value of A[i] & put it in x, value of A[j] & put it in y, then use variable z in swaping & increment i by 1 repeat this to the last 2 elements of array another array to save the swapped values with another 2 counters
18th Nov 2017, 8:23 AM
Dina
Dina - avatar