Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

About

Object Oriented Programming - Hashmap

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages