/lcd_digits

Kata LCD Digits in Java

Primary LanguageJava

Your task is to create an LCD string representation of an
integer value using a 3x3 grid of space, underscore, and
pipe characters for each digit. Each digit is shown below
(using a dot instead of a space)

._.   ...   ._.   ._.   ...   ._.   ._.   ._.   ._.   ._.
|.|   ..|   ._|   ._|   |_|   |_.   |_.   ..|   |_|   |_|
|_|   ..|   |_.   ._|   ..|   ._|   |_|   ..|   |_|   ..|


Example: 910

._. ... ._.
|_| ..| |.|
..| ..| |_|


Exemple de sortie :

 _ 
| |
|_|
   
  |
  |
 _ 
 _|
|_ 
 _ 
 _|
 _|
   
...

 _   _   _   _ 
|_| |_| |_| |_ 
  |   |   | |_|
 _   _   _   _ 
|_| |_| |_|   |
  |   |   |   |
 _   _   _   _ 
|_| |_| |_| |_|
  |   |   | |_|
 _   _   _   _ 
|_| |_| |_| |_|
  |   |   |   |