diff --git a/README.md b/README.md index b5de2b8..1904252 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,89 @@ ``` ##C4:打印菜单,实现功能{231-312} ``` -代码: +代码:int main() +{ + creatnode(); + createlist(); + //createfile(); + //printff(); + int n=10; + printf("正在初始化数据,请稍候!\n"); + //proc(); + printf("欢迎使用本系统!\n"); + while(n){ + printf("欢迎来到上海市地铁交通服务平台!\n"); + printf("1.最佳出行线路推荐\n"); + printf("2.出行费用预估\n"); + printf("0.退出系统!\n"); + printf("请输入!\n"); + scanf("%d",&n); + char str[100]; + int n9,n10; + switch(n){ + case 1:printf("请输入起点\n"); + scanf("%s",str); + n9=-1; + for(int i=0;i