From 3bc496a152654cba6d1e0f67025b70f412ce5374 Mon Sep 17 00:00:00 2001 From: pqzbgempc <2193876517@qq.com> Date: Wed, 20 Nov 2024 18:37:27 +0800 Subject: [PATCH] ADD file via upload --- xjxt1.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 xjxt1.cpp diff --git a/xjxt1.cpp b/xjxt1.cpp new file mode 100644 index 0000000..6daa14b --- /dev/null +++ b/xjxt1.cpp @@ -0,0 +1,30 @@ +#include +int main() +{ + printf("%*s%s\n",30,"","1.Input" ); + printf("%*s%s\n",30,"","2.Output" ); + printf("%*s%s\n",30,"","3.Order" ); + printf("%*s%s\n",30,"","4.Quit" ); + char ch; + scanf("%s",&ch); + printf("\n"); + if(ch=='i'){ + printf("You are trying to Input info"); + }else{ + if(ch=='o'){ + printf("You are trying to Output info"); + }else{ + if(ch=='m'){ + printf("You are trying to Make things ordered"); + }else{ + if(ch=='q'){ + printf("You are about to Quit"); + }else{ + printf("Wrong input"); + } + } + } + } + return 0; +} +