}
}
i++;
x++;
}
printf("\n");
puts(a);
}
int main()
{
int k;
char nArr[N],a[N];
int b[N];
clrscr();
printf("Please input key:\n");
gets(nArr);
k=Glength(nArr);
printf("Please input M word:\n");
gets(a);
printf("The data items in ascending order:\n"); bubble_sort(&nArr,k,&b);
puts(nArr);
encrypt(&a,k,&b);
puts(a);
printf("\n");
return 0;
}