! Java A company has three stores

Topsolutions
 (Not rated)
 (Not rated)
Chat

Java
A company has three stores (1, 2, and 3) and each store sells five items (1, 2, 3, 4, and 5).
The following tables give the number of items sold by each store and category on a particular
day, and the cost of eacha item.

a. Place the data from the first table in a two-dimensional array.
b. Place the data from the second table in a one-dimensional array.
c. Compute and display the total dollar amount of sales for each store and for the entire company.

Number of Items Sold During Day

Item
1 2 3 4 5
1 25 64 23 45 14
Store 2 12 82 19 34 63
3 54 22 17 32 35


Item Cost Per Item
1 $12.00
2 $17.95
3 $95.00
4 $86.50
5 $78.00

    • 12 years ago
    complete solution
    NOT RATED

    Purchase the answer to view it

    • itemcost.java