First post here

Im a computer science major and my c programming class was assigned a project and i was wondering if someone could give me a push. its on arrays and functions. We use K.N. King's c programming book. I understand everything so far except probably arrays. Let me also say I really want to learn this stuff and im not interested in a free ride but I would like some input from you guys. I appreciate any help.

Basically these are the directions

Coach Whytlaw, the local swim coach has a problem he wants you to help solve.

The timing system at the pool gives him a le containing information about

each race. The le contains:

The number of races in the le, on a line by itself.

For each race, there is a line in the le containing the following:

Information about the pool as follows: Whether the Pool is Long corse (L)

or Short Corse (S) Whether the Pool is Meters (M) or Yards (Y)

Information about the length of the race, in appropriate units. The shortest

race is 50 yards or meters and the longest race is 1650 yards or meters.

The time (in seconds) for each length of the pool (A length of the pool in a

long corse pool is 50 meters or yards. A length of the pool in a short corse pool

is 25 meters or yards).

The coach would like you to use the times to do some analysis on the races.

Here is the information he would like:

The total length of time it took to swim the race (displayed in minutes

and seconds).

The time for each 50 yards in the race (displayed in minutes and seconds).

For races longer than 100 yards or meters, the time of each multiple of

100 yards or meters.

The fastest 50 yards or meters, by number (1st 50, 2nd 50,etc)

the slowest 50 yards or meters, by number (1st 50, 2nd 50,etc)

the fastest 100 yards or meters, by number (1st 100, 2nd 100,etc)

the slowest 100 yards or meters, by number (1st 100, 2nd 100,etc)

Wheter or not the race was a negative split (was the rst half of the race

slower than the second half ).