I don't know how to ask about this since im new at c++ and im not good at English sorry for that.
So Id made a restaurant menu in c++ where there's a list of items in the menu , but the problem is I can only choose 1 item and sum it up, How can I make choose multiple items in the menu like for example
Menu list
- food 1
- food 2
- food 3
Choose an item above : 1 3 then show what are the list of what user inputs and sum it up and its prices.
I was thinking about using while loop, that while user input char 'c' means checkout it will sum it up everything