Question: Use C language to solve this... Create a program that prompts the user for 1 to 5 strings, of at most 29 characters. Then prompt

Use C language to solve this...

Use C language to solve this... Create a program that prompts theuser for 1 to 5 strings, of at most 29 characters. Then

Create a program that prompts the user for 1 to 5 strings, of at most 29 characters. Then prompt the user to; . "check sort order of strings" printing the state of their ordering . "sort strings ascending" or "sort strings descending" then prints the new string order - "count occurrences of character x across all strings" which then prints the count After performing one of these actions prompt the user if they would like to do another operation with their strings, otherwise exit. Program requirements: - You cannot use the static keyword - All variables must use auto memory, meaning no malloc, calloc, or suchlike. . Your main(} should declare the multidimensional array, [5][30], for holding user input and keep track of how many strings are entered. It should also handle all printing. - Getting user input and all the string operations should each be their own function. Strings and Functions Criteria Framework User's input is handled properly and safely, Your program validates user input for choice of operations. Your program can store the specied number of strings from the user and correctly passes data between functions. Check sort order Your program correctly determines if the entered strings are input already sorted ascending, descending, or not sorted. Adjacent duplicate strings are assumed to be sorted for both ascending and descending. What happens if the user only enters 1 string, or only duplicate strings? Count occurrences of character in all input strings Your code safely gets a character to search for from the user and only checks the given strings for that value. Meaning you do not simply iterate over all 30 elements in each of the 5 potential strings. Sort strings ascending or descending Your code modies the [5][30] array to have the strings sorted ascending or descending. This will affect future operations in your code. Adjacent duplicate strings are assumed to be sorted for both ascending and descending. What happens if the user only enters 1 string, or only duplicate strings? Code style Good coding practices; variable & function names, comments, code layout, header, etc. Ratings 60 pts 0 pts Full No Marks Marks 10 pts 0 pts Full No Marks Marks 10 pts 0 pts Full No Marks Marks 10 pts 0 pts Full No Marks Marks 10 pts 0 pts Full No Marks Marks Pts 60 pts 10 pts 10 pts 10 pts 10 pts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!