Good day everyone. My assignment is to create a point of sale system for a bakery shop. I have done all the coding up to the part when i have to do a 'order summary details' means i have to put all the user inputs into the order summary details. But i have no idea how do you do it. I have learnt array and managed to finish a part of it but when i try to use array for another part i cant do it and alot of errors. Im here seeking help as it is my last resort....I know im not suppose to ask for help but i really need help this time...
The expected output for order summary details are :
Order Summary Details:
Total bread type ordered: 3
Bread Type #1:
Type : Bun
Number of Unit : 4
Filling Flavour : Coconut(2)
Sub-Total : RM14.50
Bread Type #2:
Type : White Loaf
Number of Unit: 3
Sub-Total : RM15.00
Bread Type #3:
Type : Croissant
Number of Unit: 5
Filling Flavour: Chocolate(2) + Chicken(3).
Sub-Total : RM22.65
Total sale is RM52.15
The customer is entitled for a ice cream.
The link to the code :