7 Segment Display

Reference:

Write a modular program (functions) that prompts for a number between 0 and 9 then prints them using the 7 segment format shown in the above reference. (use an enlarged format, as shown below)

Advanced

Modify the program so it prints numbers between 0 and 1000 with the digits side-by-side.