/* AllanSort: Sorts the n entries of CharArray using BubbleSort */ void AllanSort(int n, int CharArray[]) { int a,b,i,swap=1; while(swap==1){ swap=0; for(i=0;ib){swap=1; CharArray[i]=b; CharArray[i+1]=a; }; }; }; }