commit 70c4e92bb3ba9bd334c010eca7603dce9129ea32 Author: hutjsj@163.com Date: Tue Jan 8 08:28:15 2019 +0800 first commit 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("!");