Instructions In this example, you 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: Don't forget to use return 0; in the main() function.
Question Attachments
2 attachments —