Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Pascal's triangle...

by YuckFoo (Abbot)
on Jun 20, 2002 at 19:59 UTC ( #176133=note: print w/ replies, xml ) Need Help??


in reply to Pascal's triangle...

I dug this nugget out of my snippets directory. It's not mine and I don't know who to credit.

YuckFoo

#!/usr/bin/perl while((@_=(1,map$_[$_-1]+$_[$_],1..@_))<=$ARGV[0]){print"@_\n"}


Comment on Re: Pascal's triangle...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2015-02-28 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (458 votes), past polls