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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 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