(Solved) : Using Fla Arrays Exercise Want Read 20 Integer Numbers Given Data File Average Must Use A Q35548704
Using FLA arrays
For this exercise, I want you to read 20 integer numbers from agiven data file and average them. You must use an array and 2functions. The first function will load an array with the data fromthe input file. The second function will average the data in thefile.
- FILE* and the naming and location (path) of the text file forinput.
- The mode of the user defined file stream.
- The function declaration.
- Ensure you close the input file.
- Make sure the file opens in the correct mode.
given data file