From 70c4e92bb3ba9bd334c010eca7603dce9129ea32 Mon Sep 17 00:00:00 2001 From: "hutjsj@163.com" Date: Tue, 8 Jan 2019 08:28:15 +0800 Subject: [PATCH] first commit --- 运动会计分.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 运动会计分.c diff --git a/运动会计分.c b/运动会计分.c new file mode 100644 index 0000000..633f418 --- /dev/null +++ b/运动会计分.c @@ -0,0 +1,39 @@ +#include +#include +#include +#include +struct achievement//ʾɼĽṹ +{char schoolname[20];//ѧУ + int schoolnumber;//ѧУ + int l;// + char name[20];//˶Ա + int mark;// + int mscore;;//ܷ + int wscore ;//Ůܷ + int sum;//ѧУܷ + int range[];//ѧУ +}; +struct subject//ʾĿĽṹ +{int subnum;//Ŀ + int subkind;//Ŀ + char subname[20];//Ŀ +}; +int main() +printf("***********************************************\n"); +printf("** 1.ʼϢ **\n"); +printf("** 2.ȷȡ **\n"); +printf("** 3.дĿ˶ԱϢ **\n"); +printf("** 4.ѯѧУϢͱĿϢ **\n"); +printf("** 5.˳ **\n"); +printf("***********************************************\n"); +int m,n,w;//n-ѧУ m-ӾĿ w-ŮӾĿ +printf("ѧУ\n"); +scanf("%d",&n); +printf("ӾĿ\n"); +scanf("%d",&m); +printf("ŮӾĿ\n"); +scanf("%d",&w); +printf("ȡ\n"); +scanf("%d",&l); +while(l!=3||l!=5) +printf("!");