问答详情
源自:1-9 经验总结

大佬们帮我看看是哪里出错了呀

borrowBookjava.util.ScannerBorrowBook {
    (String[] args) {
        String[] bookList =String[]bookList[]=bookList[]=bookList[]=bookList[]=System..println()order=Scanner scanner=Scanner(System.){
            order=scanner.nextInt()}(Exception e){
            System..println()}
        (order){
            :
                System..println()String bookNamebookName=scanner.next(){
                    (i=i<= bookList.i++)String book=bookList.get(i)(bookName.equals(book)){
                        System..println(+book)}
                }(Exception e){
                    System..println()}
                :
                System..println()num={
                    num=scanner.nextInt()}(Exception e){
                    System..println()}
                {
                    System..println(+bookList.get(num-))}(Exception e){
                    System..println()}
                :
                System..println()}
    }
}


提问者:weixin_慕用1239336 2023-01-12 13:36

个回答