Golang and *nix
Pages - Menu
Home
Tuesday, June 11, 2013
Kaprekar number
Hi there reader, happy?
Today I was introduced to the
Kaprekar
number and decided to check if a given number is a
kaprekar
one.
Here is what I got:
To make it run simply:
ruby kaprekar.rb
n
Now, be a good person a hug the person next to you =)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment