蒜蓉粉丝蒸扇贝

扇贝 5-6
蒜(多点儿,切成末)
青椒(去掉青椒筋,切丝)
少许红椒(切丝)
龙口粉丝
葱末

越讲究的菜越浪费:如粤菜
在这里插入图片描述
做饭做的好的,女的为什么这么少,这是个体力活。
我是没见过女的做大厨的。
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述
油温别太高
在这里插入图片描述
在这里插入图片描述

耗油 酱油少点儿不要太黑
再放点儿味精,味精是安全的。
之前说吃味精掉头发是谣言。
在这里插入图片描述

粉丝剪短一点儿
在这里插入图片描述
在这里插入图片描述

蒸的时候的粉丝就吸入蒜香味

有些菜有了搭配销量就大增
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

根据自己的需要量,放入
在这里插入图片描述
在这里插入图片描述

烧水
在这里插入图片描述

在这里插入图片描述
蒸如5分钟 葱花
在这里插入图片描述

再烧个热油
在这里插入图片描述
在这里插入图片描述

如果烫手
在这里插入图片描述

出锅了
在这里插入图片描述

1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
好的,这是一个比较复杂的项目,需要一定的时间和精力来完成。以下是一个简单的 C 语言代码示例,实现了餐厅管理的基本功能: ``` #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_TABLES 20 #define MAX_DISHES 10 #define MAX_MATERIALS 10 // 菜品结构体 struct Dish { int id; char name[20]; int price; int sold; int material_id; }; // 原料结构体 struct Material { int id; char name[20]; int required; int remain; }; // 餐桌结构体 struct Table { int id; char type[10]; char status[10]; int order[MAX_DISHES]; int order_count; }; // 初始化所有菜品 void init_dishes(struct Dish dishes[]) { for (int i = 0; i < MAX_DISHES; i++) { dishes[i].id = i + 1; dishes[i].sold = 0; switch (i + 1) { case 1: strcpy(dishes[i].name, "水煮鱼"); dishes[i].price = 58; dishes[i].material_id = 1; break; case 2: strcpy(dishes[i].name, "蒜蓉虾仁"); dishes[i].price = 68; dishes[i].material_id = 2; break; case 3: strcpy(dishes[i].name, "回锅肉"); dishes[i].price = 28; dishes[i].material_id = 3; break; case 4: strcpy(dishes[i].name, "宫爆鸡丁"); dishes[i].price = 38; dishes[i].material_id = 4; break; case 5: strcpy(dishes[i].name, "红烧牛腩"); dishes[i].price = 32; dishes[i].material_id = 5; break; case 6: strcpy(dishes[i].name, "青椒土豆丝"); dishes[i].price = 12; dishes[i].material_id = 6; break; case 7: strcpy(dishes[i].name, "麻婆豆腐"); dishes[i].price = 18; dishes[i].material_id = 7; break; case 8: strcpy(dishes[i].name, "虎皮青椒"); dishes[i].price = 16; dishes[i].material_id = 8; break; case 9: strcpy(dishes[i].name, "紫菜蛋花汤"); dishes[i].price = 18; dishes[i].material_id = 9; break; case 10: strcpy(dishes[i].name, "酸菜粉丝汤"); dishes[i].price = 12; dishes[i].material_id = 10; break; default: break; } } } // 初始化所有原料 void init_materials(struct Material materials[]) { for (int i = 0; i < MAX_MATERIALS; i++) { materials[i].id = i + 1; switch (i + 1) { case 1: strcpy(materials[i].name, "鱼"); materials[i].required = 1000; materials[i].remain = 20000; break; case 2: strcpy(materials[i].name, "虾仁"); materials[i].required = 500; materials[i].remain = 10000; break; case 3: strcpy(materials[i].name, "五花肉"); materials[i].required = 250; materials[i].remain = 5000; break; case 4: strcpy(materials[i].name, "鸡胸肉"); materials[i].required = 250; materials[i].remain = 5000; break; case 5: strcpy(materials[i].name, "牛腩"); materials[i].required = 200; materials[i].remain = 4000; break; case 6: strcpy(materials[i].name, "土豆"); materials[i].required = 280; materials[i].remain = 5600; break; case 7: strcpy(materials[i].name, "豆腐"); materials[i].required = 200; materials[i].remain = 4000; break; case 8: strcpy(materials[i].name, "青椒"); materials[i].required = 200; materials[i].remain = 4000; break; case 9: strcpy(materials[i].name, "紫菜"); materials[i].required = 10; materials[i].remain = 200; break; case 10: strcpy(materials[i].name, "粉丝"); materials[i].required = 100; materials[i].remain = 2000; break; default: break; } } } // 初始化所有餐桌 void init_tables(struct Table tables[]) { for (int i = 0; i < MAX_TABLES; i++) { tables[i].id = i + 1; if (i < 5) { strcpy(tables[i].type, "大桌"); } else if (i < 12) { strcpy(tables[i].type, "中桌"); } else { strcpy(tables[i].type, "小桌"); } strcpy(tables[i].status, "空闲"); tables[i].order_count = 0; memset(tables[i].order, 0, sizeof(tables[i].order)); } } // 显示菜单 void show_dishes(struct Dish dishes[]) { printf("序号\t名称\t单价\t销量\n"); for (int i = 0; i < MAX_DISHES; i++) { printf("%d\t%s\t%d\t%d\n", dishes[i].id, dishes[i].name, dishes[i].price, dishes[i].sold); } } // 显示原料 void show_materials(struct Material materials[]) { printf("序号\t名称\t所需数量\t剩余数量\n"); for (int i = 0; i < MAX_MATERIALS; i++) { printf("%d\t%s\t%d\t%d\n", materials[i].id, materials[i].name, materials[i].required, materials[i].remain); } } // 显示餐桌状态 void show_tables(struct Table tables[]) { printf("桌号\t类型\t状态\n"); for (int i = 0; i < MAX_TABLES; i++) { printf("%d\t%s\t%s\n", tables[i].id, tables[i].type, tables[i].status); } } // 选择餐桌 int select_table(struct Table tables[]) { int table_id; printf("请选择餐桌:\n"); show_tables(tables); do { printf("桌号:"); scanf("%d", &table_id); } while (table_id < 1 || table_id > MAX_TABLES); return table_id; } // 点菜 void order(struct Dish dishes[], struct Material materials[], struct Table tables[]) { int table_id = select_table(tables) - 1; char order_type[10]; printf("请选择点单类型(1:堂食,2:外卖):"); scanf("%s", order_type); if (strcmp(order_type, "1") == 0) { // 堂食 printf("请选择菜品:\n"); show_dishes(dishes); int dish_id; do { printf("序号:"); scanf("%d", &dish_id); } while (dish_id < 1 || dish_id > MAX_DISHES); tables[table_id].order[tables[table_id].order_count++] = dish_id; printf("已成功点菜!\n"); } else if (strcmp(order_type, "2") == 0) { // 外卖 printf("请选择菜品:\n"); show_dishes(dishes); int dish_id; do { printf("序号:"); scanf("%d", &dish_id); } while (dish_id < 1 || dish_id > MAX_DISHES); printf("已成功点菜!\n"); } } // 显示订单 void show_order(struct Dish dishes[], struct Table tables[]) { int table_id = select_table(tables) - 1; printf("桌号:%d\n", tables[table_id].id); printf("菜品:\n"); for (int i = 0; i < tables[table_id].order_count; i++) { printf("%s\n", dishes[tables[table_id].order[i] - 1].name); } printf("消费金额:%d\n", 0); // TODO: 计算消费金额 } // 主函数 int main() { struct Dish dishes[MAX_DISHES]; struct Material materials[MAX_MATERIALS]; struct Table tables[MAX_TABLES]; init_dishes(dishes); init_materials(materials); init_tables(tables); while (1) { printf("--------------------\n"); printf("1. 显示菜单\n"); printf("2. 显示原料\n"); printf("3. 显示餐桌状态\n"); printf("4. 点菜\n"); printf("5. 显示订单\n"); printf("6. 退出程序\n"); printf("--------------------\n"); int choice; do { printf("请选择操作:"); scanf("%d", &choice); } while (choice < 1 || choice > 6); switch (choice) { case 1: show_dishes(dishes); break; case 2: show_materials(materials); break; case 3: show_tables(tables); break; case 4: order(dishes, materials, tables); break; case 5: show_order(dishes, tables); break; case 6: return 0; default: break; } } return 0; } ``` 这只是一个简单的示例,实现了菜单、原料、餐桌和订单的基本管理功能。你可以根据自己的需求,对代码进行修改和扩展。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值