Write the classes using our coding standards.
Write BookSystem, the main program. It will declare a two-dimensional array of String data, dataArray, as follows:
Fiction, Abraham Lincoln Vampire Hunter, Grahame-Smith, Wiley, NY, 13.99, 222
Fiction, Frankenstein, Shelley, Prescott, GA, 7.99, 321
NonFiction, Life of Kennedy, Jones, Pearson, MT, 12.90, biography
Fiction, Dracula, Stoker, Addison, CA, 5.99, 145
Fiction, Curse of the Wolfman, Hageman, Wesley, MA, 10.59, 876
NonFiction, How to Pass Java, Willis, Wiley, NY, 1.99, technology
Fiction, The Mummy, Rice, Addision, CA, 7.99, 954
NonFiction, History of Texas, Smith, Prescott, CA, 9.75, history
An array, quantityArray, will be declared as int andhold128 353 723 145Using dataArray, you will create the book instances and store them in bookArray. Using the quantity array, walk through bookArray andcall calculateCharge forthe total charges per book sold. Print in a dialog boxthe book title and the total charge for each book and then print the grand total of all books sold.
Format money.
Zip the entire BookSystemproject in NetBeans and upload to BB.