|
|
|
|
#include<stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <malloc.h>
|
|
|
|
|
#include <conio.h>
|
|
|
|
|
struct achievement//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>ɼ<EFBFBD><C9BC>Ľṹ<C4BD><E1B9B9>
|
|
|
|
|
{char schoolname[20];//ѧУ<D1A7><D0A3><EFBFBD><EFBFBD>
|
|
|
|
|
int schoolnumber;//ѧУ<D1A7><D0A3><EFBFBD><EFBFBD>
|
|
|
|
|
int l;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
char name[20];//<2F>˶<EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>
|
|
|
|
|
int mark;//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
int mscore;;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܷ<EFBFBD>
|
|
|
|
|
int wscore ;//Ů<><C5AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܷ<EFBFBD>
|
|
|
|
|
int sum;//ѧУ<D1A7>ܷ<EFBFBD>
|
|
|
|
|
int range[];//ѧУ<D1A7><D0A3><EFBFBD><EFBFBD>
|
|
|
|
|
};
|
|
|
|
|
struct subject//<2F><>ʾ<EFBFBD><CABE>Ŀ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
|
|
|
|
{int subnum;//<2F><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>
|
|
|
|
|
int subkind;//<2F><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>
|
|
|
|
|
char subname[20];//<2F><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>
|
|
|
|
|
};
|
|
|
|
|
int main()
|
|
|
|
|
printf("***********************************************\n");
|
|
|
|
|
printf("** 1.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>Ϣ **\n");
|
|
|
|
|
printf("** 2.ȷ<><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1> **\n");
|
|
|
|
|
printf("** 3.<2E><>д<EFBFBD><D0B4><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>Ա<EFBFBD><D4B1>Ϣ **\n");
|
|
|
|
|
printf("** 4.<2E><>ѯѧУ<D1A7><D0A3>Ϣ<EFBFBD>ͱ<EFBFBD><CDB1><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>Ϣ **\n");
|
|
|
|
|
printf("** 5.<2E>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD> **\n");
|
|
|
|
|
printf("***********************************************\n");
|
|
|
|
|
int m,n,w;//n-<2D><><EFBFBD><EFBFBD>ѧУ<D1A7><D0A3><EFBFBD><EFBFBD> m-<2D><><EFBFBD>Ӿ<EFBFBD><D3BE><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF> w-Ů<>Ӿ<EFBFBD><D3BE><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧУ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n");
|
|
|
|
|
scanf("%d",&n);
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>\n");
|
|
|
|
|
scanf("%d",&m);
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ů<EFBFBD>Ӿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>\n");
|
|
|
|
|
scanf("%d",&w);
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n");
|
|
|
|
|
scanf("%d",&l);
|
|
|
|
|
while(l!=3||l!=5)
|
|
|
|
|
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!");
|