Jafni Shoesellers wants a program that calculates and displays the total of its previous month’s sales. The program should store the sales amounts, which are shown here, in a two dimensional double array named sales. The array should have three rows (one row for each of the three stores) and two columns. The first column should contain the sales amounts for women’s shoe sold in each of the three stores. The second column should contain the sales amounts for men shoes sold in each of the three stores. Write C++ instructions for Jafni Shoesellers program.
|
Women sales (RM) |
Men sales (RM) |
Store 1 |
875 |
1173 |
Store 2 |
975 |
707 |
Store 3 |
795 |
595 |