Question: You will write a Java program to manage a computer parts store. This store sells the following components: SSD Drives - both 500 MB and

You will write a Java program to manage a computer parts store. This store sells the following components:

  • SSD Drives - both 500 MB and 1 TB size drives
  • Motherboards - both Intel and AMD basic motherboards
  • CPU Chips - both Intel and AMD chips
  • Memory Chips - 16GB and 32 GB chips

There are four stores labeled North, West, and East

The owner wants to keep track of how many of these items it has on stock in which store.

Design a set of arrays that can hold the quantity information for each store and for each set of items. There are a number of different ways to design arrays so you will have to think about this carefully.

Write the java code to perform the following tasks:

  1. Define the arrays
  2. Write methods that prompt the user to enter the number of items for each component type and store this information in the appropriate array.

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!