Help for this page

Select Code to Download


  1. or download this
    ## open data file
    ## slurp in lines from data file
    ## foreach your way through the data 
          ## print lines back to verify it was slurped.
    
  2. or download this
    ## 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.
    
  3. or download this
    ## open data file
    ## slurp in lines from data file
    ...
          ## stuff the two scalars into two arrays
    
    ## print the two arrays to verify stuffing.
    
  4. or download this
    ## open data file
    ## slurp in lines from data file
    ...
    ## print the number of grades
    ## calculate the averate
    ## print the average