Write Program Java Following Program Main Menu Follows Application Menu 1 List Books Inf Q26380231

. Write a program in Java to does the following.

a. The program has main menu as follows.

My Application Menu

1. List all books information.

2. List the prices of most/least expensive book

3. Search titles of books by keyword

4. List book titles with prices above average

5. Add new book

0. Exit the program

==================================

Enter Choice>>

b. Write separate method for each menu item and incorporate thecode accordingly.

Used Classes: Integer.parseInt, Double.parseDouble,String(split, indexOf, charAt, substring, ..), Scanner,PrintWriter, File, …

2. Extend the above application as follows

a. Extend the menu as follows.

My Application Menu

6. List all books by price range

7. List book (s) with largest number of pages (more than onebook might be there)

8. List/print a unique list of authors (US style) (no duplicatesLast Name, First Name)

9. List the authors who published 2 or more books

10. Delete a Book

11. Search authors and titles

0. Exit the program

==================================

Enter Choice>>

a. Write a method for each separate menu item and incorporatethe code in the application

(Some one already post this question but the answer waswrotten by Switch case , and it should be written withmethods)

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *