用c语言代码(不是c++)实现餐厅管理。 包括点单管理(选择外卖和堂食以及菜品的增加减少),选择堂食则弹出餐桌列表选择桌号,餐桌类型,显示餐桌状态等,然后弹出菜单表点菜,点菜完毕后打印出订单),选择外卖则直接弹出菜单,点菜完毕后也打印出订单。餐桌管理(所有餐桌的状态,还可输入桌号查看该餐桌订单)。订单信息包括桌号,所点菜品和消费金额。原料剩余管理(剩余为0的时候警告)。 菜单表如下,包括序号,名称,价格,销量(销量需要随点单动态增加) 1,水煮鱼,58,0 2,蒜蓉虾仁,68,0 3,回锅肉,28,0 4,宫爆鸡丁,38,0 5,红烧牛腩,32,0 6,青椒土豆丝,12,0 7,麻婆豆腐,18,0 8,虎皮青椒,16,0 9,紫菜蛋花汤,18,0 10,酸菜粉丝汤,12,0 原料表如下,包括序号,名称,每一道菜所需数量,剩余数量(每个菜品的序号对应原料表中序号,就是它的主要原料,每个菜品只有一个主要原料)(剩余数量需要随点单动态减少) 1,鱼,1000,20000 2,虾仁,500,10000 3,五花肉,250,5000 4,鸡胸肉,250,5000 5,牛腩,200,4000 6,土豆,280,5600 7,豆腐,200,4000 8,青椒,200,4000 9,紫菜,10,200 10,粉丝,100,2000 餐桌包括5个大桌,7个中桌,8个小桌。共二十个桌子。 菜单表,原料表和餐桌列表都用结构体。