From 8203996ee00f70b6a98f0d1391037980fe1d7577 Mon Sep 17 00:00:00 2001 From: psc7qx9jf Date: Sun, 5 Nov 2023 10:41:31 +0800 Subject: [PATCH] ADD file via upload --- step_1.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 step_1.c diff --git a/step_1.c b/step_1.c new file mode 100644 index 0000000..be36eb5 --- /dev/null +++ b/step_1.c @@ -0,0 +1,16 @@ +#include +int main() +{ + printf(" 1.Input\n"); + printf(" 2.Output\n"); + printf(" 3.Order\n"); + printf(" 4.Quit\n"); + char c; + scanf("%c",&c); + if(c=='i'){printf("You are trying to Input info:");} + if(c=='o'){printf("You are trying to Output info");} + if(c=='m'){printf("You are trying to Make things ordered");} + if(c=='q'){printf("You are about to Quit");} + if(c!='i'&&c!='o'&&c!='m'&&c!='q'){printf("Wrong input");} + return 0; +} \ No newline at end of file