Create a two-dimensional array of size n-by-12 (n X 12). This array represents number sales in different
Fantastic news! We've Found the answer you've been seeking!
Question:
- Create a two-dimensional array of size n-by-12 (n X 12). This array represents number sales in different shops in a year (12 months). Where we have n shops, and the number of sales is saved for each month. Thus, column 0 represents January, column 1 represents February and so on.
- There number of n shops should be entered by the user.
- Prompt the user to enter the values of the array.
- Output the following:
- For each shop, output total sum of sales during the year.
- The shop index with maximum number of sales in March.
Related Book For
Posted Date: