public static void main ( String args [ ] ) {
  int i , nos = 0 , nosp = - 1 , nbsp = - 1 ;
  for ( i = 9 ;
  i >= 1 ;
  i -= 2 ) {
    pattern ( nos , i , 0 ) ;
    pattern ( nosp , i , 1 ) ;
    pattern ( nbsp , i , 1 ) ;
    System . out . println ( ) ;
    nos ++ ;
    nosp = nosp + 2 ;
    nbsp = nbsp + 2 ;
  }
  nos = 3 ;
  nosp = 5 ;
  nbsp = 5 ;
  for ( i = 3 ;
  i <= 9 ;
  i += 2 ) {
    pattern ( nos , i , 0 ) ;
    pattern ( nosp , i , 1 ) ;
    pattern ( nbsp , i , 1 ) ;
    System . out . println ( ) ;
    nos -- ;
    nosp = nosp - 2 ;
    nbsp = nbsp - 2 ;
  }
}

public static void main ( String args [ ] ) { int i , nos = 0 , nosp = - 1 , nbsp = - 1 ; for ( i = 9 ; i >= 1 ; i -= 2 ) { pattern ( nos , i , 0 ) ; pattern ( nosp , i , 1 ) ; pattern ( nbsp , i , 1 ) ; System . out . println ( ) ; nos ++ ; nosp = nosp + 2 ; nbsp = nbsp + 2 ; } nos = 3 ; nosp = 5 ; nbsp = 5 ; for ( i = 3 ; i <= 9 ; i += 2 ) { pattern ( nos , i , 0 ) ; pattern ( nosp , i , 1 ) ; pattern ( nbsp , i , 1 ) ; System . out . println ( ) ; nos -- ; nosp = nosp - 2 ; nbsp = nbsp - 2 ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier) value: (unary_expression operand: (decimal_integer_literal))) declarator: (variable_declarator name: (identifier) value: (unary_expression operand: (decimal_integer_literal)))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (assignment_expression left: (identifier) right: (decimal_integer_literal)) body: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list))) (expression_statement (update_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (assignment_expression left: (identifier) right: (decimal_integer_literal)) body: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list))) (expression_statement (update_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal))))))))