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