Question: A 4 Sort using a 2 - Dimension Array of characters Task Same as last. Implement the function specifications / prototypes . The driver program
A Sort using a Dimension Array of characters
Task Same as last. Implement the function specificationsprototypes The driver program main has been supplied.
Input the size of the dimensional character array, then sort by row. Note: this problem is repeated in question but you are required there to modify the ascii code for the sort. Here just use strcmp
Some example test cases are supplied. Look here for expected output.
Test case :
Input
Your Output
ReadinadimensionalarrayofcharactersandsortbyRow
Inputthenumberofrows
Inputthemaximumnumberofcolumns
Nowinputthearray
TheSortedArray
Expected Output
ReadinadimensionalarrayofcharactersandsortbyRow
Inputthenumberofrows
Inputthemaximumnumberofcolumns
Nowinputthearray
TheSortedArray
Test case :
Input
Ted
Mary
Bobby
Your Output
ReadinadimensionalarrayofcharactersandsortbyRow
Inputthenumberofrows
Inputthemaximumnumberofcolumns
Nowinputthearray
TheSortedArray
Bobby
Mary
Ted
Expected Output
ReadinadimensionalarrayofcharactersandsortbyRow
Inputthenumberofrows
Inputthemaximumnumberofcolumns
Nowinputthearray
TheSortedArray
Bobby
Mary
Ted
test case hidden
test case hidden
attempt to find the hidden test cases. No their is no other infomration to figure out what the test cases want.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
