From 7b4ac3ab8c278fecaec41e78206b529f51b4a383 Mon Sep 17 00:00:00 2001 From: unknown <1513801413@qq.com> Date: Wed, 9 Jan 2019 10:14:03 +0800 Subject: [PATCH] third commit --- when函数.c | 7 +++++++ where函数.c | 13 ------------- 2 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 when函数.c delete mode 100644 where函数.c diff --git a/when函数.c b/when函数.c new file mode 100644 index 0000000..3a1fd4b --- /dev/null +++ b/when函数.c @@ -0,0 +1,7 @@ +void when(int F,int G) +{ + if(F==1&&G==1||F==5&&G==1||F==10&&G==1) + printf("µ±ÌìΪ·¨¶¨½ÚÈÕ\n"); + else + printf("µ±Ìì²»ÊÇ·¨¶¨½ÚÈÕ\n"); +} /*****ÅжÏÊäÈëÈÕÆÚÊÇ·ñΪ·¨¶¨½ÚÈÕ*****/ diff --git a/where函数.c b/where函数.c deleted file mode 100644 index f7c60e4..0000000 --- a/where函数.c +++ /dev/null @@ -1,13 +0,0 @@ -void why(int E) -{ - switch(E) - { - case 1: printf("¸ÃÈÕÐÇÆÚÒ»\n");break; - case 2: printf("¸ÃÈÕÐÇÆÚ¶þ\n");break; - case 3: printf("¸ÃÈÕÐÇÆÚÈý\n");break; - case 4: printf("¸ÃÈÕÐÇÆÚËÄ\n");break; - case 5: printf("¸ÃÈÕÐÇÆÚÎå\n");break; - case 6: printf("¸ÃÈÕÐÇÆÚÁù\n");break; - case 7: printf("¸ÃÈÕÐÇÆÚÈÕ\n");break; - } -} /*****ÅжÏÊäÈëÈÕÆÚÊÇÐÇÆÚ¼¸*****/