Annotation of cci/usr/src/usr.bin/f77/f77pass1/tst/davg.f, revision 1.1.1.1

1.1       root        1:        real*8 function avg(arg,i)
                      2:        real*8 arg(*)
                      3:        real*8 sum
                      4:        sum=0.0
                      5:        do 20 j=1,i
                      6: 20     sum = sum+arg(j)
                      7:        avg = sum/i
                      8:        return
                      9:        end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.