Help for this page

Select Code to Download


  1. or download this
    (DEFINE (SUM TERM A NEXT B)
            (IF (> A B)
    ...
    (SUM-INT 3 5)
    
    (SUM-SQ 3 5)
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    print sumint(3,5) . "\n";
    #a sum of squares from 3-5
    print sumsq(3,5) . "\n";