Name: ________________ Make up 30/10/2018
As a software developer, you asked to develop a system for a company
that sells stock.
This company sells different types of stock items.
Quantity sold total quantity
0 1 2 3 4
A. Write a function that:
Fill this two-dimensional array called quantity by numbers
from user, which are the quantity sold of each item. (30%)
B. Write a function that calculate the total quantity sold of each
item and store them in an array called total quantity. (40%)
C. Write a function that prints the sales of the company.
(30%).