import java.util.Scanner;
Scanner sc = new Scanner(System.in);

  System.out.println(“请输入你的姓名:”);

  String name = sc.nextLine();
    Float ff = sc.nextFloat();