Sort an array of ten 30 character items into ascending order of surname. Each line contains a name in the form e.g. Mr J Smith, Dr John R Smith or John Smith. There are no field or record delimiters, qualifications, suffixes, double-barrelled names or similar complications. Define names and values for the items in the array, using any programming language you choose. Using low level string and record manipulation and not higher level functions such as SORT, either draw a flowchart to show how you would perform the sort, or write the program.

Questions by btbdance

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions