Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started