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

bookChallenge: Library Book Tracker

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 7
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Library Book Tracker

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 7
single

single

some-alt