The Mudcat Café TM
Thread #16362   Message #152808
Posted By: Steve Parkes
22-Dec-99 - 03:35 AM
Thread Name: Twelve Days of Christmas-for teaching catechism?
Subject: RE: Twelve Days of Christmas
OK Joe, just to start you off ... to find the sum of a string od consecutive numbers, add the first to the last, halve it, and multiply by the number of numbers. For example: 1, 2, 3 -- 1+3=4; 4/2=2; 2*3=6. And again: 100 .. 200 -- 100+200=300; 300/2=150; 150*101 (yes, count 'em!) = 15,150.

Now you can have a bash at the next bit!

Steve, BA (Open)