1. A shop owner has two shop outlets, namely, High Street Branch and Mall Branch. The quarterly sales figures for the respective shop is given the tables below:
Mall Shop Quarterly Sales Figure
Days per week Weeks per year
1 2 3 4 5 6 7 8 9 10 11 12 13
1 125 116 174 195 215 188 189 149 188 179 955 105 188
2 188 179 955 105 188 455 265 385 357 192 215 188 189
3 188 189 149 188 125 215 149 188 179 955 105 188 455
4 116 174 195 215 188 189 149 188 125 455 265 385 357
5 125 116 174 195 215 188 189 149 188 179 955 105 188
6 188 179 955 105 188 455 265 385 357 192 215 188 189
7 188 189 149 188 125 215 149 188 179 955 105 188 455
High Street Shop Quarterly Sales Figure
Days per week Weeks per year
1 2 3 4 5 6 7 8 9 10 11 12 13
1 455 265 385 357 192 215 188 189 149 188 125 215 188
2 149 188 125 215 188 455 265 385 357 192 215 188 189
3 265 385 357 192 149 188 179 955 188 125 455 265 385
4 192 215 188 149 188 179 955 105 188 455 265 385 357
5 455 265 385 357 192 215 188 189 149 188 125 215 188
6 149 188 125 215 188 455 265 385 357 192 215 188 189
7 265 385 357 192 149 188 179 955 188 125 455 265 385
Write a program in JAVA to calculate the following;
I. Each shops weekly sales
II. Each shops quarterly sales
III. The two shops total combined sales for the quarter