Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Behold! The power of recursion.

by tachyon (Chancellor)
on Oct 18, 2004 at 02:44 UTC ( #400033=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
        }
    }
    print "The guess was correct!";
    
  2. or download this
    sub fact_rec{ 
        my ($num) = @_;
    ...
    for (1..10){
        printf"%d!\t%10d\t%10d\n", $_, fact_rec($_), fact_it($_);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-04-20 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls