Write a program using 2D array to keep track stationary store inventory. The store sells various items. For each item in the store, the following information is entered: item ID, item name, number of pieces ordered, number of pieces currently in the store, number of pieces sold, manufacturer’s price for the item, and the store’s selling price. At the end of each week, the store manager would like to see a report in the following form: Happy Stationary Store itemI D itemNam e pOrdere d pInStor e pSol d manufPric e sellingPrice 1111 Pencil 120 180 80 5.00 8.00 1112 A4 Paper 150 100 50 10.00 14.00 : : Total Inventory: RM #####.## Total number of items in the store: The total inventory is the total selling value of all of the items currently in the store. The total number of items is the sum of the number of pieces of all of the items in the store.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

Write a program using 2D array to keep track stationary store inventory. The store
sells various items. For each item in the store, the following information is entered:
item ID, item name, number of pieces ordered, number of pieces currently in the
store, number of pieces sold, manufacturer’s price for the item, and the store’s selling
price. At the end of each week, the store manager would like to see a report in the
following form:

Happy Stationary Store

itemI
D
itemNam
e

pOrdere
d

pInStor
e

pSol
d
manufPric
e sellingPrice
1111 Pencil 120 180 80 5.00 8.00
1112
A4
Paper 150 100 50 10.00 14.00
:
:
Total Inventory: RM #####.##
Total number of items in the store:

The total inventory is the total selling value of all of the items currently in the store.
The total number of items is the sum of the number of pieces of all of the items in the
store.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage