From b23a01941167880e6011a8b76744f94fcbf58865 Mon Sep 17 00:00:00 2001 From: p49a3zeks <1346664542@qq.com> Date: Tue, 7 Nov 2023 19:37:03 +0800 Subject: [PATCH] Add step1 --- step1 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 step1 diff --git a/step1 b/step1 new file mode 100644 index 0000000..8f8e193 --- /dev/null +++ b/step1 @@ -0,0 +1,20 @@ +#include + +int main() +{ + printf(" 1.Input\n"); + printf(" 2.Output\n"); + printf(" 3.Order\n"); + printf(" 4.Quit\n"); + + char x; + scanf("%c",&x); + switch(x){ + case 'i':printf("You are trying to Input info");break; + case 'o':printf("You are trying to Output info");break; + case 'm':printf("You are trying to Make things ordered");break; + case 'q':printf("You are about to Quit");break; + default:printf("Wrong input\n");break; + } + return 0; +} \ No newline at end of file