We told you guys; it’s fun! Though I’m not positive the answer shouldn’t have been 91 instead… to v through.
~>perl6 > $n = 13 13 > say [+] ^$n 78
In reply to Re^3: How do I write a program that calculates the sum of all numbers to a number, n?
by Your Mother
in thread How do I write a program that calculates the sum of all numbers to a number, n?
by fmny94
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |