An open API service indexing awesome lists of open source software.

https://github.com/julianamancera/lab-sw-5-hashmap-exercise


https://github.com/julianamancera/lab-sw-5-hashmap-exercise

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Lab-SW-5-HashMap-Exercise

## Create a report that will display the isbn, book title, author's name and bio based from the given diagram:

![Diagram](https://github.com/Julsaurus/Lab-SW-5-HashMap-Exercise/assets/133284711/80fb39be-c4e6-4685-8ef2-50e87a48deb1)

**Use HASHMAP.** Use isbn as your key. Use FileReader in accessing the files.

### Access the following files:

**Book.csv**

_Isbn, title, author name_

BK-1234,The Lord of the Rings,J.R.R. Tolkien

BK-5678,The Hobbit,J.R.R. Tolkien

BK-9012,Pride and Prejudice,Jane Austen

BK-2345,Sense and Sensibility,Jane Austen

BK-7890,To Kill a Mockingbird,Harper Lee

BK-3456,One Hundred Years of Solitude,Gabriel Garcia Marquez

BK-0987,Love in the Time of Cholera,Gabriel Garcia Marquez

**Author.csv**

_name,bio_

J.R.R. Tolkien,English philologist and university professor

Jane Austen,English novelist known for her wit

Harper Lee,American novelist best known for her Pulitzer Prize-winning novel.

Douglas Adams,English science fiction writer and documentary filmmaker.

F. Scott Fitzgerald,American novelist and short-story writer.

Gabriel Garcia Marquez,Colombian novelist known for his magical realism works.

_Use the following sequence diagram in the implementation of the codes:_

![Book_Report](https://github.com/Julsaurus/Lab-SW-5-HashMap-Exercise/assets/133284711/f5d8b43b-40d5-49c6-9a2f-5eb329435094)

**Sample output:**

BK-1234 The Lord of the Rings

  J.R.R. Tolkien - English philologist and university professor

BK-9012 Pride and Prejudice

  Jane Austen - English novelist known for her wit