Unit 4 Guided Practice 2: Passing An Array To A Function
In this example, we use an array called scores, and we pass the array to a function called printScores(). This function loops through the array elements, and prints them. As before, the program prints the average of the grades.
Here is the code:
And here is the output:
Now, you enter the code, and run it. (No Flowchart this time).
Upload your .c file and a screen shot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading.
7 years ago 5
Answer(2)
Purchase the answer to view it
- passinganarraytofunction.zip
Purchase the answer to view it
NOT RATED
- Order1018216.docx
other Questions(10)
- For Doctor Mitch
- Discussions
- Pacific Cataract and Laser Istitute: Competing in the Lasik Eye Surgery Market
- Project: Group Presentation on Nursing Theorist
- OSCM 306 – Operations Management
- to write two short reflection papers (approximately one page, single spaced), and few sentences for asking a question as a short summary.
- microeconomic
- discussion 6
- Psychology Careers
- discussion question