Home /
Expert Answers /
Computer Science /
c-program-and-it-needs-to-compile-correctly-please-thank-you-write-a-c-program-that-calculate-pa946
(Solved): C Program and it needs to compile correctly please, thank you
Write a C program that calculate ...
C Program and it needs to compile correctly please, thank you
Write a C program that calculates and prints the average of an array of integers: - Take user input to initialize an array of size 5 . - Call a function calculateAverage to compute and return the average of the array. - Print the calculated average in the main function. Name your source code file: 'firstinitiallastnameF2.c', for example: 'jnombradoF2.c'. Example Run: Enter 5 integers to initialize the array: 1020304050? Average of the array: 30.00