#include #include using namespace std; char string[20]; void swap(int first,int second) { char temp; temp=string[first]; string[first]=string[second]; string[second]=temp; } int minLocation(int first,int last) { int loc,minIndex; minIndex=first; for(loc=first+1;loc<=last;loc++) { if(string[loc]>string; } while(string!="zzz"); length=strlen(string); cout<<"The list before sorting: "<