Q.1.2 If the user selects to capture a new product, you are required to save all the information supplied by the user into memory. To achieve this, you may use arrays or array lists. Sample Capture Product Screenshot CAPTURE A NEW PRODUCT ..... Enter the product code: A55 Enter the product name: EliteBook Select the product category: Desktop Computer - 1 Laptop - 2 Tablet - 3 Printer -4 Gaming Console - 5 Product Category >> 2 Indicate the product varranty. Enter (1) for é months or any other key for 2 years. 2 Enter the price for EliteBook >> 15000 Enter the stock level for EliteBook > 3 Enter the supplier for EliteBook >> IT__Africa Product details has been saved successfully!!! Enter (1) to launch menu or any other key to exit

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

 If the user selects to capture a new product, you are required to save all the information
supplied by the user into memory. To achieve this, you may use arrays or array lists. Using Java code please

Q.1.2
If the user selects to capture a new product, you are required to save all the information
supplied by the user into memory. To achieve this, you may use arrays or array lists.
Sample Capture Product Screenshot
CAPTURE A NEW PRODUCT
.....
Enter the product code: A55
Enter the product name: EliteBook
Select the product category:
Desktop Computer - 1
Laptop - 2
Tablet - 3
Printer - 4
Gaming Console - 5
Product Category >> 2
Indicate the product warranty. Enter (1) for é months or any other key for 2 years. 2
Enter the price for EliteBook >> 15000
Enter the stock level for EliteBook > 3
Enter the supplier for EliteBook >> IT_4_Africa
Product details has been saved successfully!!!
Enter (1) to launch menu or any other key to exit
Q.1.4
Special consideration needs to be made for the selection of the product category. Allow
the user to make a selection between the following categories:
Desktop Computer.
Laptop.
Tablet.
Printer.
Gaming Console.
Q.1.5
If the user makes an incorrect product category selection, prompt the user to re-enter a
valid product category.
Transcribed Image Text:Q.1.2 If the user selects to capture a new product, you are required to save all the information supplied by the user into memory. To achieve this, you may use arrays or array lists. Sample Capture Product Screenshot CAPTURE A NEW PRODUCT ..... Enter the product code: A55 Enter the product name: EliteBook Select the product category: Desktop Computer - 1 Laptop - 2 Tablet - 3 Printer - 4 Gaming Console - 5 Product Category >> 2 Indicate the product warranty. Enter (1) for é months or any other key for 2 years. 2 Enter the price for EliteBook >> 15000 Enter the stock level for EliteBook > 3 Enter the supplier for EliteBook >> IT_4_Africa Product details has been saved successfully!!! Enter (1) to launch menu or any other key to exit Q.1.4 Special consideration needs to be made for the selection of the product category. Allow the user to make a selection between the following categories: Desktop Computer. Laptop. Tablet. Printer. Gaming Console. Q.1.5 If the user makes an incorrect product category selection, prompt the user to re-enter a valid product category.
Expert Solution
steps

Step by step

Solved in 3 steps with 19 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY