归sdas

public void numberToChinese(){
        Scanner sc = new Scanner(System.in);
        while (true){
            System.out.println("\n------------");
            System.out.println("输入一个阿拉伯数字,你将得到它的中文大写,可重复实验,输入-1退出!");
            String number = sc.nextLine();
            StringBuilder sb = new StringBuilder();
            for (int i = 0;i < number.length();i++){
                if (number.equals("-1")){
                    System.out.println("已退出,欢迎下次使用!");
                    return;
                }
Spring Boot