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

bookChallenge: Library Book Tracker

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 7
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Library Book Tracker

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 7
single

single

some-alt