Showing posts with label ascending order. Show all posts
Showing posts with label ascending order. Show all posts

Saturday, March 8, 2014

To arrange the entered words in ascending order using string


In the last page I have made the pattern of string. Now lets move forward. In this page I have made the program to find the ascending order of the words entered by the user. For this I have taken two standard library functions called strcmp and strcpy. For more idea have a look for the source code and the program below:
The source code for the above output is: