From 1ed722724e490e1536af783c1283792cb533a500 Mon Sep 17 00:00:00 2001 From: p56isruwj <3475735425@qq.com> Date: Mon, 13 Nov 2023 22:30:12 +0800 Subject: [PATCH] ADD file via upload --- 学籍管理系统 步骤1.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 学籍管理系统 步骤1.c diff --git a/学籍管理系统 步骤1.c b/学籍管理系统 步骤1.c new file mode 100644 index 0000000..021f77f --- /dev/null +++ b/学籍管理系统 步骤1.c @@ -0,0 +1,28 @@ +#include +int main() +{ + char in; + printf(" 1.Input\n"); + printf(" 2.Output\n"); + printf(" 3.Order\n"); + printf(" 4.Quit\n"); + scanf("%c",&in); + switch(in) + { + case('i'): + printf("You are trying to Input info\n"); + break; + case('o'): + printf("You are trying to Output info\n"); + break; + case('m'): + printf("You are trying to Make things ordered\n"); + break; + case('q'): + printf("You are about to Quit\n"); + break; + default: + printf("Wrong input\n"); + } + return 0; +}