Java program to arrange the letters of a word in alphabetical order.
2. Accept a word from the user.
3. Convert each letter of the word to its corresponding ASCII value.
4. Compare each letter of the word by its next letter and swap them if the first letter has a greater ASCII value than the next one.
5. Repeat the above procedure until the entire word is sorted.
6. Print the new word.
Enter a word : computer
Original word : computer
Sorted word : cemoprtu
★ Display the solution of Towers of Hanoi using recursion
★ Convert a number into words
★ Reverse a word or sentence ending with '.' using recursion
★ Convert Decimal to Octal
★ Convert Decimal to Binary