Modify the cashier function.
The cashier function should be modified to work with the structure array. When a sale takes place, the function should search the structure array for the needed data and retrieve it. All other operations of the cashier function will remain the same.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.