Question: 1. The user interface will prompt for ten unique character strings to be entered from the keyboard. Each character string must have a strlen() value
1. The user interface will prompt for ten unique character strings to be entered from the keyboard. Each character string must have a strlen() value between 1 and 25, otherwise an error message is provided and the user is re-prompted. The program sorts this series of ten character strings (based on ascii value), and reprints all ten strings in ascending OR descending order based on user specification. The program then prints and labels the character string with the lowest ascii value and that with the highest ascii value as determined by strcmp(). Character strings may NOT include the following characters: !, @, #, $, %, ^, (, or ).
2. Include additional error checking for: Empty string, Duplicate string, Character other than A or D for sort specification. 3. Include at least 4 user defined functions outside of the main().
Please help me with this question! Thanks!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
