Sorting of Elements Algorithim with explanation and program
ALGORITHM VARIABLES: § i: loop counter. § A: name of array. § n: number of elements of array. § pass: for passing the value. ALGORITHM: STEP 1: repeat step 2 & 3 For pass 1 to (n-1) STEP 2: i = 1 STEP 3: repeat while i <= n-pass (a) if a [i]>a[i+1] then, interchange a[i] & a[i+1] ...