#include "string.h"
int main()
{char s[100],t;
int i,j,sum;
printf("Input:\n");
gets(s);
sum=strlen(s);
for(i=0;i for(j=0;j if(s[j+1]<=s[j]){t=s[j];s[j]=s[j+1];s[j+1]=t;} printf("Output:\n"); puts(s); return 0;}
for(j=0;j if(s[j+1]<=s[j]){t=s[j];s[j]=s[j+1];s[j+1]=t;} printf("Output:\n"); puts(s); return 0;}
if(s[j+1]<=s[j]){t=s[j];s[j]=s[j+1];s[j+1]=t;}
printf("Output:\n");
puts(s);
return 0;}