UVa 706 - LC-Display

Summary
Simple Output related problem. Just do what they want.

Hints
Notice that each digit has five block/part. Make sure your output doesn't have any trailing spaces or extra newlines, but remember that you should output a blank line after each number, including the last one (or you will get Presentation Error :) )

Note that the number may start with a zero.

Input
1 0123456789 2 0123456789 3 0123456789 0 0

Output
-      -   -       -   -   -   -   -          -   -   -   -   -       -   -  -       -   -       -   -       -   -

--       --   --        --   --   --   --   --            --   --   --   --   --        --   --  --        --   --        --   --        --   --

---        ---   ---         ---   ---   ---   ---   ---              ---   ---   ---   ---   ---         ---   ---  ---         ---   ---         ---   ---         ---   ---

Solutions
C++: http://www.lukejduncan.com/2009/09/uva-706---lcd-display.php

C: https://dzone.com/articles/solution-lcd-display-problem