Page 88 - CTS - CSA TP - Volume 2
P. 88
COMPUTER SOFTWARE APPLICATION - CITS
Comparisons happen till the last element 1
After each iteration, the greatest value of the array becomes the last index value of the array. In each iteration,
the comparison happens till the last unsorted element.
Now comparison reduced one step because the biggest element is at its right place
73
CITS : IT & ITES - Computer Software Application - Exercise 93