in reply to Re: How do I write a program that calculates the sum of all numbers to a number, n?
in thread How do I write a program that calculates the sum of all numbers to a number, n?

Now with Extra Fracking for-Loop!

... say List::Util::sum( 1 .. $n ) for 0;
  • Comment on Re^2: How do I write a program that calculates the sum of all numbers to a number, n?
  • Download Code