develooper Front page | perl.golf | Postings from July 2002

Re: more minigolf

Thread Previous | Thread Next
From:
Michael W Thelen
Date:
July 10, 2002 07:02
Subject:
Re: more minigolf
Message ID:
20020710080142.A4735@cs.utah.edu
On Wed, Jul 10, 2002 at 12:47:40PM +0100, Jasper McCrea wrote:
> given a line number on the command line, print out that line from
> Pascal's triangle. Single space separated numbers, nothing but a \n at
> the end, you know the drill.

Do the line numbers begin at 0 or 1?  Is it like this?

line 0:       1
line 1:      1 1
line 2:     1 2 1

-- Mike

-- 
Michael W. Thelen
eval unpack u,'M*"1C/2<P,BDN-"`U+C`A(RLG*3U^>2\A+48O82UZ+SME=F%L*"1C+B(G=2HG
M+"<Z,D<U4SU<(B%!.T9=5#HF-5(H)2%%/$907$`Z)B5#.E8U4BM@2&`G+EPD$+R(I.P``'

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About