|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Golf: Seven segment displayby kikuchiyo (Hermit) |
| on Jan 18, 2012 at 11:52 UTC ( [id://948530]=perlquestion: print w/replies, xml ) | Need Help?? |
|
kikuchiyo has asked for the wisdom of the Perl Monks concerning the following question: The problem: Write a function -- with as few characters as possible -- that, given a positive integer, prints it in a seven segment display style, similar to that found on calculators. Input: w(1234567890); Output:
My best effort so far:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||