Question about food ordering system | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Question about food ordering system

Can anyone help me how to make a food ordering system that shows all the pending order and the receipt after the payment has been done.

31st May 2021, 10:36 PM
Nielark
Nielark - avatar
4 Answers
+ 2
Use queue for ordering. 2d array or dictionary for order/receipt, where key is unique id and value is tuple
31st May 2021, 10:56 PM
Deprion
Deprion - avatar
+ 1
It depends could you be more specific about what language you are using?
31st May 2021, 11:09 PM
Jeremiah Hawthorne
0
I am using C++
31st May 2021, 11:59 PM
Nielark
Nielark - avatar
0
I have already made the program but the problem is that in the pending order it only shows the last meal that I have ordered and I don't know how to input it into the receipt.
1st Jun 2021, 12:01 AM
Nielark
Nielark - avatar