void function ( ) { for ( int loc0 = 0 ; loc0 < age ; ++ loc0 ) { for ( int loc1 = 0 ; loc1 < age ; ++ loc1 ) { if ( loc0 == 0 || loc0 == age - 1 || loc0 == age - loc1 - 1 ) { out . print ( symbol ) ; } else { out . print ( SPACE_SYMBOL ) ; } } out . println ( ) ; } }
draw the pattern z concode_field_sep char symbol concode_elem_sep String genderCharSet concode_elem_sep int age concode_elem_sep char gender concode_elem_sep char FEMALE concode_elem_sep char MALE concode_elem_sep String SPACE_SYMBOL concode_elem_sep boolean poisonous concode_field_sep int getAge concode_elem_sep void drawZR concode_elem_sep void reversePoisonous concode_elem_sep char getGender concode_elem_sep void draw concode_elem_sep void setPoisonous concode_elem_sep void drawNR concode_elem_sep void growUp concode_elem_sep boolean getPoisonous concode_elem_sep void drawBaby concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void drawN concode_elem_sep char getSymbol concode_elem_sep void setSymbol