Question: java Design an application that stores different types of products available at a local IT store and the corresponding product price. The product details must

java Design an application that stores different types of products available ata local IT store and the corresponding product price. The product detailsjava

Design an application that stores different types of products available at a local IT store and the corresponding product price. The product details must be stored in parallel arrays. Use the following data to populate the three (3) parallel arrays in a loadArray() method. Product ID 101 102 103 Product Price R 5500.00 R 5 200.00 R 3 100.00 Product Name ACER Laptop HP Laptop DELL Laptop Create a searchArray0 method and write the code to enable the user to search for a specific type of product and if the product ID is listed in the array, show the product details. If the product It that the user searched for does not exist in the array, show a message to indicate that this product is not available. Make use of JOptionPanes for input and output. Sample output shown below Input Enter (1) to search for product details Enter (2) to display all product details in stock Enter any other key to exit OK Cancel Prompt the user to enter the numbers 1, 2 or any other key to exit the application. Input Enter in the Product ID 10 OK Cancel

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!