Question: Can anybody help me to solve this Assignment4.java? The first two photos are Assignment4.java and the 3th-11th photo are HW4 instructions! 12th-15th photo are input1.txt

Can anybody help me to solve this Assignment4.java? The first two photos are Assignment4.java and the 3th-11th photo are HW4 instructions! 12th-15th photo are input1.txt to input4.txt! 16th is output1.txt, 17th is output2.txt, 18th-19th are output3.txt! And last two photos are output4.txt! Please help me to solve this assignment as soon as possible! Thanks a lot!  Can anybody help me to solve this Assignment4.java? The first two
photos are Assignment4.java and the 3th-11th photo are HW4 instructions! 12th-15th photo
are input1.txt to input4.txt! 16th is output1.txt, 17th is output2.txt, 18th-19th are
output3.txt! And last two photos are output4.txt! Please help me to solve
this assignment as soon as possible! Thanks a lot! // Ansignent #.
4 /I Namet Your name /I StudentID: /I Description: Assignment 4 class
displays a menu of choices to a user and performs the chosen
task. It will keep asking a user to enter the next choice
until the choice of Q' (Quit) is entered. import java.io.* I/to use
InputStreamReader and BufferedReader import java.util. public class Assignment4 /I local variables, can
be accessed anywhere from the main method char input '2' String bookTitle,
bookAuthor, bookISBN int bookVersion double bookPrice String line new String) a Book
object Book bookinev Book(O: //Create a Scanner object to read user input
Scanner scan- new Scanner (System.in) do // will ask for user input
system.out.printin( "What action would you 1ike to perform2") line scan.nextLinet) if (line.length1)
input 1ine.charat (0)1 input Character.toUpperCase(input): // matches one of the case statement
case "Add Book bookTitle scan.nextLinet) book1.setAuthor(bookAuthor)
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed

// Ansignent #. 4 /I Namet Your name /I StudentID: /I Description: Assignment 4 class displays a menu of choices to a user and performs the chosen task. It will keep asking a user to enter the next choice until the choice of Q' (Quit) is entered. import java.io.* I/to use InputStreamReader and BufferedReader import java.util. public class Assignment4 /I local variables, can be accessed anywhere from the main method char input '2' String bookTitle, bookAuthor, bookISBN int bookVersion double bookPrice String line new String) a Book object Book bookinev Book(O: //Create a Scanner object to read user input Scanner scan- new Scanner (System.in) do // will ask for user input system.out.printin( "What action would you 1ike to perform2") line scan.nextLinet) if (line.length1) input 1ine.charat (0)1 input Character.toUpperCase(input): // matches one of the case statement case "Add Book bookTitle scan.nextLinet) book1.setAuthor(bookAuthor)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!