Draw an ASCII Volume
code-golf ascii-art
Given a volume level V
in the range 1-10
. Your program should draw the following ASCII art.
When V=1
:
\
|
/
When V=2
:
\
\ |
| |
/ |
/
When V=3
:
\
\ |
\ | |
| | |
/ | |
/ |
/
And etc. Trailing spaces are allowed.
This is a code-golf challenge so the shortest solution wins.