From 86eda213ce6c7680ed6ba8b6ec5812f6b25b2393 Mon Sep 17 00:00:00 2001 From: p49a3zeks <1346664542@qq.com> Date: Sun, 12 Nov 2023 22:06:52 +0800 Subject: [PATCH] Delete 'step3' --- step3 | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 step3 diff --git a/step3 b/step3 deleted file mode 100644 index 56db7ac..0000000 --- a/step3 +++ /dev/null @@ -1,36 +0,0 @@ -#include - -int main() -{ - printf(" 1.Input\n"); - printf(" 2.Output\n"); - printf(" 3.Order\n"); - printf(" 4.Quit\n"); - - char x; - scanf("%c",&x); - switch(x){ - case 'o':printf("You are trying to Output info");break; - case 'm':printf("You are trying to Make things ordered");break; - case 'q':printf("You are about to Quit");break; - case 'i':printf("Please input info of the three students:"); - int i=0; - int stn[3]; - float gsc[3],dwc[3],eyc[3],sum[3]; - - for(i=0;i<3;i++){ - scanf("%d",&stn[i]); - scanf("%f",&gsc[i]); - scanf("%f",&dwc[i]); - scanf("%f",&eyc[i]); - } - for(i=0;i<3;i++){ - sum[i]=gsc[i]+dwc[i]+eyc[i]; - } - //缺排序加输出 - - break; - default:printf("Wrong input\n");break; - } - return 0; -} \ No newline at end of file