How to read the data of weight of elephant seals into array and how to calculate their avg.The data weight is given in file tome | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to read the data of weight of elephant seals into array and how to calculate their avg.The data weight is given in file tome

Please help

22nd Jan 2021, 4:13 PM
Mohit Yadav
Mohit Yadav - avatar
1 Answer
+ 1
Learn how to access files in C here https://www.sololearn.com/learning/2952/ For the average you sum up the values an divide by their amount
22nd Jan 2021, 4:27 PM
Benjamin Jürgens
Benjamin Jürgens - avatar