Am a beginer writing a programme using arrays and urgently need assistance with the question below
Read any number of real numbers and store them in an array called data of size 15. If a -1 is read at any point, you will be forced to end reading at that point. Continue to read if -1 is not detected until all 15 numbers are read. While reading, record the count of numbers.
Display a menu that will produce the following output pattern:
1. Display the lost of array elements
2. Determine the average of the numbers read
3. Update an element by index
4. Sort the numbers in ascending order
5. Add an element
6. Quit operation
Don't post homework questions
Programmers are good at spotting homework questions; most of us have done them ourselves. Those questions are for you to work out, so that you will learn from the experience. It is OK to ask for hints, but not for entire solutions.