Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Using Fla Arrays Exercise Want Read 20 Integer Numbers Given Data File Average Must Use A Q35587031

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

12

23

45

43

65

76

88

23

34

53

97

45

65

14

32

1

0

77

99

22

Leave a Reply

Your email address will not be published. Required fields are marked *