Skip to main content
deleted 339 characters in body
Source Link
sinvec
  • 2k
  • 3
  • 5

Draw an ASCII Volume



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.

Posted here

Draw an ASCII Volume



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.

Draw an ASCII Volume

Posted here

added 2 characters in body
Source Link
sinvec
  • 2k
  • 3
  • 5

Draw an ASCII Volume



Given a volume level VV 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.

Draw an ASCII Volume



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.

Draw an ASCII Volume



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.

Source Link
sinvec
  • 2k
  • 3
  • 5

Draw an ASCII Volume



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.