Passing an Array to a Function

Array structures can be passed to a function so that the data elements can be computed or manipulated. When passing the array you only need to include the array name in the function call. You will need to include the full coding syntax with the square brackets in the function prototype and definition. The program below passes an array of scores to its definition which finds and displays an average.
If you haven't already, please read the following in your textbook, Deitel, P. & Deitel, H. (2015). C how to program, 8th ed., before beginning:
• Chapter 6: C Arrays Section 6.7
Instructions
Follow these instructions to complete your assignment:

  1. Use Flowgorithm to create the flowchart in the tab below.
  2. Select the Code tab and enter the code into your compiler.
  3. Compile your code and run. Your output should match the image on the Output tab.
  4. Paste your flowchart and a screenshot of your output (including the Title Bar showing the path and name of your code) into a Word document (.docx).
  5. Submit the “.c” code file, which should include a comment line with your name and the date.
  6. Submit the Flowgorithm (.fprg) file.