본문내용
C:\test>java ShapePrinter diamond 5
*
***
*****
***
*
C:\test>java ShapePrinter up-triangle 5
*
***
*****
*******
*********
C:\test>java ShapePrinter down-triangle 5
*********
*******
*****
***
*
*
***
*****
***
*
C:\test>java ShapePrinter up-triangle 5
*
***
*****
*******
*********
C:\test>java ShapePrinter down-triangle 5
*********
*******
*****
***
*