From 097d81be809aceccc48e4abe4221e3dd27e89101 Mon Sep 17 00:00:00 2001 From: psc4a9qur Date: Fri, 22 Nov 2024 18:22:40 +0800 Subject: [PATCH] ADD file via upload --- a1.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 a1.c diff --git a/a1.c b/a1.c new file mode 100644 index 0000000..8c4eb73 --- /dev/null +++ b/a1.c @@ -0,0 +1,21 @@ +#include +int main() +{ + printf(" 1.Input\n"); + printf(" 2.Output\n"); + printf(" 3.Order\n"); + printf(" 4.Quit\n"); + char a; + 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"); + return 0; +} \ No newline at end of file