derpp has asked for the wisdom of the Perl Monks concerning the following question:
hi guys, i'm a beginner at perl and i'm stuck on a simple (to you, probably) problem.
i'm trying to write a short program that, simply put, finds all the numbers between two entered numbers and adds them.
ex: if i enter 1 and 100, i'd want my program to get the sum of 1+2+3+4..100.
the part where i'm stuck is..getting all the numbers between.
please help D:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: beginner help
by salva (Canon) on Aug 02, 2010 at 20:00 UTC | |
by jeffa (Bishop) on Aug 02, 2010 at 20:49 UTC | |
by moritz (Cardinal) on Aug 03, 2010 at 07:44 UTC | |
by Jenda (Abbot) on Aug 03, 2010 at 10:11 UTC | |
Re: beginner help
by toolic (Bishop) on Aug 02, 2010 at 19:46 UTC | |
Re: beginner help
by FunkyMonk (Chancellor) on Aug 02, 2010 at 19:48 UTC | |
Re: beginner help
by VinsWorldcom (Prior) on Aug 02, 2010 at 19:49 UTC | |
Re: beginner help
by perlCrazy (Monk) on Aug 03, 2010 at 11:19 UTC | |
Re: beginner help
by baxy77bax (Deacon) on Aug 03, 2010 at 10:09 UTC | |
Re: beginner help
by nvivek (Vicar) on Aug 03, 2010 at 04:59 UTC | |
Re: beginner help
by jdrago999 (Pilgrim) on Aug 04, 2010 at 18:23 UTC |
Back to
Seekers of Perl Wisdom