Question: Java Question: Develop a program for an online store which sells dvds and books (items). The store will have a cart which will contain the
Java Question:





Develop a program for an online store which sells dvds and books (items). The store will have a cart which will contain the items the user wants to purchase and their prices. The inventory for books and dvds will be stored in two separate string arrays which will contain the names of the books and the names of the dvds. In addition, two separate arrays of type double will be used to store the price corresponding to each item. You will create the arrays and populate them with data at the beginning of your program. This is how the arrays will look: books Intro to JavaIntro to C+ Python Perl | C# booksPrices 45.99 89.34 100.00 25.0049.99 dvds Snow WhiteCinderella Dumbo BambiFrozen dvdsPrices 19.99 24.99 17.99 21.9924.99
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
