Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
go ahead... be a heretic
 
PerlMonks  

Re^2: How to change these small one-liners into Perl6 code?

by ABCXYZ (Novice)
on Dec 23, 2012 at 19:18 UTC ( #1010114=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    If we list all the natural numbers below 10 that are multiples of 3 or
    + 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
    
    Find the sum of all the multiples of 3 or 5 below 1000.
    ...
    (I generalized this to: 
       below 10**$n for code #1 and #2, 
    or below $N for code #3)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (20)
As of 2014-04-16 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls