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

Question on Recursion

by prasadbabu (Prior)
on Jan 09, 2009 at 10:49 UTC ( [id://735151]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Number 1818
    1818 = 1+8+1+8 = 36   step 1 (2 digits output)
    36   = 3 + 6 = 9      step 2 (single digit output)
    result: 9 (final count of the digits )
    
  2. or download this
    use strict;
    use warnings;
    ...
    length: 1
    final: 9
    1818 == 9
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://735151]
Approved by Hue-Bond
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found