From 9b41f3fdbaf68f1700ce268f577d0f19c1abe1e4 Mon Sep 17 00:00:00 2001 From: ph9kiql5e <157842898@qq.com> Date: Sun, 5 Nov 2023 10:29:17 +0800 Subject: [PATCH] ADD file via upload --- 1.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 1.c diff --git a/1.c b/1.c new file mode 100644 index 0000000..047b449 --- /dev/null +++ b/1.c @@ -0,0 +1,30 @@ +#include +int main() +{ + printf(" 1.Input\n"); + printf(" 2.Output\n"); + printf(" 3.Order\n"); + printf(" 4.Quit\n"); + char t=getchar(); + if(t=='i') + { + printf("You are trying to Input info\n"); + } + else if(t=='o') + { + printf("You are trying to Output info\n"); + } + else if(t=='m') + { + printf("You are trying to Make things ordered\n"); + } + else if(t=='q') + { + printf("You are about to Quit\n"); + } + else + { + printf("Wrong input\n"); + } + return 0; +}