Use Raptor for the following problem. Write a program to allow the user to enter the maximum number of values to enter for an array of numbers and read the data. For example, if the user enters 5for the maximum number of entries, you will then read 5 numbers from the keyboard.Create another array named squares that contains the square of the numbers (square of a number is the number multiplied by itself. The square of 3 is 3*3 = 9). Create another array named cube that stores the cube of the numbers (cube of a number is the number multiplied by itself. The cube of 4 is 4*4*4 = 64). Note that you will have a total of 3 arrays. Display the content of the 3 arrays as a table (nothing fancy). Prompt the user to enter any number. Use the simple serial search algorithm to check the array numbers forthe input user entry. Display the location/index of the value in the list (input by the user). Also, display the square and cube of the number using the arrays. DO NOT redo the calculations, you already have arrays that hold these values. If the user enters a number that's not in the list, provide a message that the input is not in the list.
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
This is only a preview of the solution. Please use the purchase button to see the entire solution