suppose you own a soft drink distributor that sells Coca-Cola(ID number 1),Pepsi
ID: 3651874 • Letter: S
Question
suppose you own a soft drink distributor that sells Coca-Cola(ID number 1),Pepsi(ID number 2),Canada Dry(ID number 3), and Hires(ID number 4) by the case. white a program to do the following:
a. read in the case inventory for each brand at the start of the week
b. process all weekly sales and pruchase records for each brand
c. display the final inventory
Each trancsaction will consist of two data items. the first will be the brand identification number (an integer). the second will be the amount purchased ( a positive integer) or amount sold (a positive integer). you can assume that you always have sufficient foresight to prevent depletion of your inventory for any brand.