Question: * Please use Code Block for the C code: Array Manipulation with C code only: Array size should be between 1 and 20 5 was

* Please use Code Block for the C code: Array Manipulation withC code only: Array size should be between 1 and 20 5* Please use Code Block for the C code:

Array Manipulation with C code only: Array size should be between 1 and 20 5 was not found in the array Reverse printing the array 202 9.4 7 4 3.5 1.9 0-2 What is the size of your array (1-100)? 8 Array size set In this question you develop a C code capable of doing array manipulation. Your program will have the following menu. This code should be completely modular so that for each of the menu options (except for probably a couple of them) a function should be called. 3. Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 3 Your array is not initialized yet! 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 1- Enter the size of the array 2- Enter the array elements 3. Sort the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 4 Please enter a number to be searched in the array: 7 7 was found at the position 6 in the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 4- Find a number within the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 7 Thanks and bye! ! 1- Enter the size of the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 3 Sorting the array. Please choose Ascending/Descending (A/DJ2M That's not a valid choice a 5- Print the array 6- Reverse print the array 7- Quit 7- Quit Please enter your choice: 3 Your array is not initialized yet! A sample run of the program is as follows: 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 4 Your array is not initialized yet! 1- Enter the size of the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array Please choose Ascending/Descending (A/D)? A Array sorted (Ascending) -20 1.9 3.5 4 7 9.4 202 6- Reverse print the array 7- Quit 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5. Print the array 6- Reverse print the array 7- Quit Please enter your choice: 0 That's not a valid choice 1- Enter the size of the array Please enter your choice: 5 Printing the array -20 1.9 3.5 4 7 9.4 202 4 7 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 2 Enter array element 1:0 Enter array element 2: -2 Enter array element 3:7 Enter array element 4: 4 Enter array element 5: 3.5 Enter array element 6: 9.4 Enter array element 7: 1.9 Enter array element 8: 202 2- Enter the array elements 3- Sort the array 4 - Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 1 What is the size of your array (1-20)? 25 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 4 Please enter a number to be searched in the array: 5 Please enter your choice: 2 You should first set the size of the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5. Print the array 6- Reverse print the array 7- Quit Please enter your choice: 6 1- Enter the size of the array 2- Enter the array elements Array elements have been received Array Manipulation with C code only: Please enter your choice: 0 That's not a valid choice a Array sorted (Ascending) -20 1.9 3.5 4 7 9.4 202 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 2 Enter array element 1:0 Enter array element 2: -2 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array Please enter your choice: 2 You should first set the size of the array 1- Enter the size of the array 7- Quit In this question you develop a C code capable of doing array manipulation. Your program will have the following menu. This code should be completely modular so that for each of the menu options (except for probably a couple of them) a function should be called. 1- Enter the size of the array Please enter your choice: 1 What is the size of your array(1-20)? 25 Array size should be between 1 and 20 Enter array element 3:7 Enter array element 4: 4 7- Quit Please enter your choice: 5 5 Printing the array -20 1.9 3.5 4 7 9.4 202 4 7 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Enter array element 5: 3.5 Enter array element 6: 9.4 Enter array element 7: 1.9 Enter array element 8: 202 Array elements have been received 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 4 : 4 Please enter a number to be searched in the array: 5 5 was not found in the 1- Enter the size of the array 1- Enter the size of the array What is the size of your array(1-100)? 8 Array size set 2- Enter the array elements 3- Sort the array 4- Find a number within the array array 1- Enter the size of the array Please enter your choice: 3 Your array is not initialized yet! 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit 5- Print the array 2- Enter the array elements 3- Sort the array 6- Reverse print the array 7- Quit Please enter your choice: 6 1- Enter the size of the array 2- Enter the array elements 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the a array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 3 Your array is not initialized yet! A sample run of the program is as follows: Reverse printing the array 202 9.4 7 4 3.5 1.9 0-2 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 3 Sorting the array. Please choose Ascending/Descending (A/D)? M That's not a valid choice a 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the a array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 4 Please enter a number to be searched in the array: 7 7 was found at the position 6 in the array 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit 1- Enter the size of the array Please enter your choice: 4 Your array is not initialized yet! 1- Enter the size of the array 2- Enter the array elements 3- Sort the array 4- Find a number within the array 5- Print the array 6- Reverse print the array 7- Quit Please enter your choice: 7 2- Enter the array elements 3- Sort the array 4- Find a number within the array Please choose Ascending/Descending (A/D)? A 1- Enter the size of the 1- Enter the size of the array array

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 Databases Questions!