From 732ca5a9067dcb8adfc86b45d65ae2c6bdb960e1 Mon Sep 17 00:00:00 2001 From: pbs89iory Date: Sat, 11 Nov 2023 23:06:32 +0800 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ac8d4d..7c0e65f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ -# xjglxt +#include +int main( ) +{ + int num_spaces =30; + printf("%*s1.Input\n",num_spaces," "); + printf("%*s2.Output\n",num_spaces," "); + printf("%*s3.Order\n",num_spaces," "); + printf("%*s4.Quit\n",num_spaces," "); + char a; + again:a=getchar(); + switch(a) + { + case'i':printf("You are trying to Input info");break; + case'o':printf("You are trying to Output info");break; + case'm':printf("You are trying to Make things orderd");break; + case'q':printf("You are about to Quit");break; + case'\n':printf("\n");break; + default:printf("Wrong input"); + } + goto again; +} +