From 78adf226b2fd138cb5246f7eb976524ed3c96020 Mon Sep 17 00:00:00 2001 From: pqfc6e4lh <407900437@qq.com> Date: Sun, 5 Nov 2023 08:36:36 +0800 Subject: [PATCH] ADD file via upload --- 步骤1.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 步骤1.c diff --git a/步骤1.c b/步骤1.c new file mode 100644 index 0000000..4c5ca9d --- /dev/null +++ b/步骤1.c @@ -0,0 +1,29 @@ +#include +int main() +{ + int i; + char a; + for(i=1;i<=30;i++) + printf(" "); + printf("1.Input\n"); + for(i=1;i<=30;i++) + printf(" "); + printf("2.Output\n"); + for(i=1;i<=30;i++) + printf(" "); + printf("3.Order\n"); + for(i=1;i<=30;i++) + printf(" "); + printf("4.Quit\n"); + scanf("%c",&a); + if(a=='i') + printf("You are trying to Input info"); + else if(a=='o') + printf("You are trying to Output info"); + else if(a=='m') + printf("You are trying to Make things ordered"); + else if(a=='q') + printf("You are about to Quit"); + else + printf("Wrong input"); +}