public static void main ( String [ ] args ) {
  int i , j , r , N , N1 ;
  N1 = 3 ;
  N = 0 ;
  r = 5 ;
  for ( i = 0 ;
  i < r ;
  i ++ ) {
    if ( i <= r / 2 ) {
      N = N1 ;
      for ( j = 0 ;
      j <= i ;
      j ++ ) {
        N ++ ;
      }
      N1 = N ;
      for ( j = 0 ;
      j <= i ;
      j ++ ) {
        N -- ;
        System . out . print ( N + " " ) ;
      }
      System . out . println ( ) ;
    }
    else {
      for ( j = i ;
      j < r ;
      j ++ ) {
        N -- ;
        System . out . print ( N + " " ) ;
      }
      System . out . println ( ) ;
    }
  }
}

public static void main ( String [ ] args ) { int i , j , r , N , N1 ; N1 = 3 ; N = 0 ; r = 5 ; for ( i = 0 ; i < r ; i ++ ) { if ( i <= r / 2 ) { N = N1 ; for ( j = 0 ; j <= i ; j ++ ) { N ++ ; } N1 = N ; for ( j = 0 ; j <= i ; j ++ ) { N -- ; System . out . print ( N + " ▁ " ) ; } System . out . println ( ) ; } else { for ( j = i ; j < r ; j ++ ) { N -- ; System . out . print ( N + " ▁ " ) ; } System . out . println ( ) ; } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier))) (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: (identifier)) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (update_expression (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (update_expression (identifier))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list)))) alternative: (block (for_statement init: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (update_expression (identifier))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list)))))))))