I need the to do a shopping program by classes. the customer is buying and the quanity of that certain product and would like to be able to add that to a shopping cart(the cart only could caryy 10 quantities) since the customer might be buying more that one product. Im using a file to store the name of the products , quantities and prices. the user will enter the amount of money the clerk has and the amount of money the shopper has. the classes are "shopper","clerk","cart" and "wallet". it is my first time to use classes so it is sooo hard for a "class beginnner".
0 · ·