private static void test ( Scanner sc , PrintWriter pw ) {
  double C = sc . nextDouble ( ) ;
  double F = sc . nextDouble ( ) ;
  double X = sc . nextDouble ( ) ;
  double r = 2.0 ;
  double t = 0.0 ;
  while ( X / r > C / r + X / ( r + F ) ) {
    t = t + C / r ;
    r += F ;
  }
  t = t + X / r ;
  pw . print ( t ) ;
}

private static void test ( Scanner sc , PrintWriter pw ) { double C = sc . nextDouble ( ) ; double F = sc . nextDouble ( ) ; double X = sc . nextDouble ( ) ; double r = 2.0 ; double t = 0.0 ; while ( X / r > C / r + X / ( r + F ) ) { t = t + C / r ; r += F ; } t = t + X / r ; pw . print ( t ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier)) (formal_parameter type: (type_identifier) name: (identifier))) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) body: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))