I am just learning C. I have gotten this program from a friend and am unable to write it. If anybody has a free moment to look at this and help me please post back.
Program: computerizing baseball records. wirte a program which computes the batting avg for each team member. there are 10 members on the team, their batting records consist of hits, walks, and outs during a game.
Input: compute each player's batting avg by adding the total number of hits and dividing it by the total number of times at bat. a walk does not count as either a hit or a time a bat when batting avg is being calculated.
Output: print a table showing each player's id#, batting avg, and number of walks.
(can only use functions and arrays)