Question: write C program do not use structures or recrusion Write a program that build one dimension array of integers, which contain 10 random numbers, build

write C program do not use structures or recrusion Write a programthat build one dimension array of integers, which contain 10 random numbers,write C program do not use structures or recrusion

Write a program that build one dimension array of integers, which contain 10 random numbers, build a function to fill the array elements randomly, other function is required to print the elements of array, and different functions to do each of the following choices. The program should display menu for the user to choose one of the following choices: 1- The user can sort the array by choose number 0 (by Enter 0 ) from the available options. 2- If the user enters 1 , they will be able to insert a new number. This must be done after sorting the array, and if the number that needs to be entered is already there, an error notice must be displayed. 3- The user can remove a number from an array if they choose number 2 from the available options (delete must be by value or by Address) 4- The user can update specific number from an array if they choose number3 from the available options. 5- The user can exit the program if they choose number 0 from the available options. Notes: If the user chooses an element to delete and it cannot be found in the array, an error message must show to let him know that either the element cannot be located, or the index exceeds the array's capacity. 15 22 7 9 6 3 1 7 12 Please Enter one of the following choices: 1 - To Sort Array in descending order please Enter 0 2 - To Insert element to the array please enter 1 2 - to deleter element from array please enter 2 3 - To update specific element in Array please enter 3 4 To exit please enter 4

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!