From 7fa19d82c06278b91865a4babad6ee118231df22 Mon Sep 17 00:00:00 2001 From: psc7qx9jf Date: Sun, 5 Nov 2023 10:40:06 +0800 Subject: [PATCH] ADD file via upload --- shiyan2 1.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shiyan2 1.c diff --git a/shiyan2 1.c b/shiyan2 1.c new file mode 100644 index 0000000..be36eb5 --- /dev/null +++ b/shiyan2 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