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; +} +