The output is, the selection is keep appearing. Also, I already put system("CLS"); in the case 0 then goto receipt. Why the selection is keep appearing?
Also, while putting the another quantity, the selection is keep appearing.
i put "meow meow meow", because i was still testing it.
Well, why the selection is keep appearing? because, what i want is, if putting the another product and quantity, i just want the question only. What is the code for that? Thanks
output:
Please make a selection
Enter 1 for Lays Stax Sour Cream Onion 100g - $1.139
Enter 2 for Luxury Vegetable Chococream 200g - $1.918
Enter 3 for Marshies Strawberry Style - $0.2531
Enter 4 to see what you owe
Enter 0 when you are done
Choice: 1
How many would you like to purchase?
Quantity: 2
meow meow meow
Please make a selection
Enter 1 for Lays Stax Sour Cream Onion 100g - $1.139
Enter 2 for Luxury Vegetable Chococream 200g - $1.918
Enter 3 for Marshies Strawberry Style - $0.2531
Enter 4 to see what you owe
Enter 0 when you are done
Enter 1 for Lays Stax Sour Cream Onion 100g - $1.139
Enter 2 for Luxury Vegetable Chococream 200g - $1.918
Enter 3 for Marshies Strawberry Style - $0.2531
Enter 4 to see what you owe
Enter 0 when you are done