Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Library Book Tracker | Dictionaries and Key-Value Collections
C# Lists & Collections

bookChallenge: Library Book Tracker

Aufgabe

Swipe to start coding

Write a program to manage a library system that tracks which books are checked out and who has borrowed them. The program should allow assigning books to borrowers, returning books, and listing all currently borrowed books.

  • When a book is checked out, add it to the collection with the borrower's name.
  • When a book is returned, remove it from the collection.
  • When listing borrowed books, return a list of strings, each showing the book title and the borrower's name.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 7
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Library Book Tracker

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a program to manage a library system that tracks which books are checked out and who has borrowed them. The program should allow assigning books to borrowers, returning books, and listing all currently borrowed books.

  • When a book is checked out, add it to the collection with the borrower's name.
  • When a book is returned, remove it from the collection.
  • When listing borrowed books, return a list of strings, each showing the book title and the borrower's name.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 7
single

single

some-alt