Question:

Write a program to sort the string accepted from the user

Program:

Explanation:

The sort function returns the sorted data item.

Output:

Leave a Reply