请帮我修改一下!万分感谢
/* Note:Your choice is C IDE */#include "stdio.h"
int main()
{
char string[5],c;
int i,j;
scanf("%s\n",string);
for(i=0; (c=string[i])!='\0';i++);
{c=string[i];
for(j=i-1;j>0&&c<string[j];j--)
{string[j+i]=string[j];
string[j+1]=c;}
}
printf("%s",string);
return 0;
}