2074 8

CSC115 ยท 2074 ยท 5 marks

Write a program to find sum and average of 10 integer numbers stored in an array.

Write a program to find sum and average of 10 integer numbers stored in an array. [5]

C ProgrammingChapter 6: ArraysIntroduction to Array

Arrays use a loop variable as the subscript (starting from 0) to process elements. A one-dimensional array of size 10 has indices from arr[0] to arr[9]. Step Description ------------------- int arr[10] Declares a one-dimensional array of 10 integers (indices 0 to 9) First for loop Reads 10 intege...