Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Friday Golf: All 2-digit combinations

by Chady (Priest)
on Sep 26, 2003 at 13:21 UTC ( [id://294410]=note: print w/replies, xml ) Need Help??


in reply to Re: Friday Golf: All 2-digit combinations (wrong!)
in thread Friday Golf: All 2-digit combinations

40.
$n='00';/$n/ or$_.=$n while$n++<99;print
123456789 123456789 123456789 123456789

Update: your code still displays some bad entries. see below

010203040506070809111213141516171819222324252627282933343536...etc.
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/
  • Comment on Re: Re: Friday Golf: All 2-digit combinations

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-25 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found