shopping list
alicelinlin (0)

I'm trying to make this shopping list for school, basically, 1st section: the customer needs to enter their details and they will get what fruits are available to buy 2nd section: they then need to enter what fruits, the amount, and the cost. Then it should calculate and give them a total. But the code is not starting from the beginning, it's starting from the section where the customer enters what fruits, the amount, and the cost. how do i fix this?

one more question, for the second section, if i want to automatically calculate how much the total cost is for the customer from the price list, how do i do that instead of them having to enter the cost themselves?

here is the code:

You are viewing a single comment. View All
QuantumCodes (28)

@alicelinlin just try this.. i can help you too! Just invite me on the repl if younarent able to do. If the above answer is correct, you can mark this as answered so other people will know you no longer need help :)