#include
#include
#include
void main()
{
char string[50];
char temp;
int i,j,l;
printf("\nEnter any string: ");
scanf("%s",string);l=strlen(string);
for(i=0;i
for(j=0;j
if(string[j]>string[j+1])
{
temp=string[j];
string[j]=string[j+1];
string[j+1]=temp;
}
}
}printf("\n\nAlphabetical arrangement makes: ");
puts(string);
getch();
}