Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Your Answer

Welcome to the library management system, please type your commands.
> There is no book in the system.
> There is no customer in the system.
> book1 added to the system.
> The book ID already exists.
> book2 added to the system.
> 1 book1 on shelf
> name1 added to the system.
> The customer ID already exists.
> name2 added to the system.
> Success! book1 is borrowed by name1.
> 1 book1 borrowed
> Fail! The book was borrowed by another customer.
> 1 book1 borrowed
2 book2 on shelf
> Book borrowed by name1:
1 book1
> Success! The following book has been returned:
1 book1
> Fail! The book has not been borrowed.
> Unknown command!
> Exit the system!

JOJ Answer

Welcome to the library management system, please type your commands.
> There is no book in the system.
> There is no customer in the system.
> book1 added to the system.
> The book ID already exists.
> book2 added to the system.
> 1 book1 on shelf
> name1 added to the system.
> The customer ID already exists.
> name2 added to the system.
> Success! book1 is borrowed by name1.
> 1 book1 borrowed
> Fail! The book was borrowed by another customer.
> 1 book1 borrowed
2 book2 on shelf
> Book borrowed by name1:
1 book1
> Success! The following book has been returned:
1 book1
> Fail! The book has not been borrowed.
> Unknown command!
> Exit the system!