(1) 展示所有菜品 以列表形式展示
(2) 菜单管理
A.增加新菜品
B.单独选择菜品
C.结束
(3) 客户管理
A.增加新客户
B.删除失效客户
(4)结束
以上是思路,求源代码(千万千万要能运行),菜单如下
直接发python最好。
谢谢诸位了!
主菜单的内容是(1)(2)(3)(4),(2)(3)中分别是两个子菜单,最好是可以返回的,最后那个结束就是返回。急要!!Thank you all!
========================================================================
1: Display all Foods
2: Foods Management
3: User Management
0: Quit
========================================================================
Enter your choice: 2
========================================================================
1: add a new food
2: output all cook's order infomation
0: Quit
========================================================================
Enter your choice: 0
========================================================================
1: Display all Foods
2: Foods Management
3: User Management
0: Quit
========================================================================
Enter your choice: 3
========================================================================
1: add a new user
2: delete invalid user
0: Quit
========================================================================
Enter your choice: 0
========================================================================
1: Display all Foods
2: Foods Management
3: User Management
0: Quit
========================================================================
Enter your choice: 0
------------------
(program exited with code: 0)
Press return to continue
您好,我想把我所写的发给您,因为我真的是入门都还没有。
追答mail: tim_spac@126.com
本回答被提问者采纳