About this Project This project will allow you to use arrays and perform a series of tasks on those arrays. It will require your knowledge in arrays and functions.
Write a menu-driven program that allows the user to fill an array, query the array, and print the array. The menu and an explanation of each option is shown below.
Select one of the following options:
F. Fill the array with a random number series.
P. Print the array.
Q. Query the array.
Z. Terminate the program.
A series of test cases will be used to grade your computer program. The following sequence of steps will be performed:
There are two opportunities for extra credit as part of this project. They are not required for full credit. Each opportunity will be graded independently (meaning, you can perform neither, one, or both of the extra credit tasks).
Extra Credit 1
Add a S. Search the Array function to your program that will allow the user to determine if a specific number is found somewhere in the array. When the search option is chosen, the program will ask the user what number to search for. If the search locates the number, it will print a message that the number was located and the index location where it was found. Note that the number may be found more than once in the array, and the search option must find all instances of the number. If the number is not found, a message must be displayed to the screen with that information.
Extra Credit 2
Add a O. Sort the Array function to your program that will allow the user to sort the array from smallest to greatest (in other words, the smallest of the random numbers will be in index 0, 1, 2, , and the largest random numbers will be index 48, 49, 50). See the resources provided with this project that may be used as your sorting feature.