## open data file ## slurp in lines from data file ## foreach your way through the data ## print lines back to verify it was slurped. #### ## open data file ## slurp in lines from data file ## foreach your way through the data ## parse the line into two scalars ## print the two scalars to verify parsing. #### ## open data file ## slurp in lines from data file ## foreach your way through the data ## parse the line into two scalars ## stuff the two scalars into two arrays ## print the two arrays to verify stuffing. #### ## open data file ## slurp in lines from data file ## foreach your way through the data ## parse the line into two scalars ## stuff the two scalars into two arrays ## sum all grades ## print the sum ## count the number of grades ## print the number of grades ## calculate the averate ## print the average