Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

only basic basic java so i can understand. we can use bubble sort for sorting. no using implements function or @override, or private. nothing like

image text in transcribedimage text in transcribed

only basic basic java so i can understand. we can use bubble sort for sorting.

no using implements function or @override, or private. nothing like that, very basic java please.

Your program must keep track of the following information about each 1. Title Note that book titles are allowed to contain spaces (Example 2. Author- We will require the author information to be entered as a book Java For Everyone) single string without spaces using the format: lastName.firstName (Example: Hortsmann Cay) We will only store one author with each book even though a book might have multiple authors in the real world 3. ISBN This 13 digit value will likely contain a dash and should be stored as a String (Example: 123-1234567890) rated this book, the rating is 0.0. (Example: 4.5) been received for this book. (Example: 10) 4. Rating - This is the current average rating for this book. If no one has 5. Number of Reviews This will store the number of revlews that have Your program must allow the user to select from a series of 6 menu options. You should display this menu Choose a menu option from the ist below: 1: Load book data from a file 2: Add one new book 3: Rate one book 4: Get recommendations : Print the ul book ist 6: Exit the software Then allow the user to select one menu option and process their choice Detals on the individuai choices are found in the table below. Continue to print the menu and allow the user to enter a choice until the user selects option 6 Option |Behavior-10.2% 1: Load Prompt the user to enter a file name. Open the file and read all book data iself. The following line will include the author, isbn, rating, data stored within. The file will contain a book title on a line by from a and number of reviews for that book. Example: Java For Everyone rtsmann.La 978-111806 3316 5 Beginning Prograrming in Java For Dumies burd.lbat1x 978-111923,5383 2 avai An Introduction to Progr & Problen Solving u.Halier, 978-0134462035 2 3e If the specified file does not exist, handle the exception gracefully rather than allowing the program to crash 2: Add Prompt the user to enter the title, author, and ISBN for a new one new book book Enter te book title tnter t vt her (LestNate.firs'Nase with no spaces

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

3. I no longer feel able to cope with things.

Answered: 1 week ago