static float avgOfFirstN ( int n ) {
  return ( float ) ( 1 + n ) / 2 ;
}

static float avgOfFirstN ( int n ) { return ( float ) ( 1 + n ) / 2 ; }
(method_declaration (modifiers) type: (floating_point_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (binary_expression left: (cast_expression type: (floating_point_type) value: (parenthesized_expression (binary_expression left: (decimal_integer_literal) right: (identifier)))) right: (decimal_integer_literal)))))