Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by ABCXYZ (Novice)
on Dec 23, 2012 at 19:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1010114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found