2008年計(jì)算機(jī)二級(jí)考試C語(yǔ)言輔導(dǎo):C語(yǔ)言做的一個(gè)學(xué)生選課系統(tǒng)

字號(hào):

考試大用C做的一個(gè)簡(jiǎn)易的學(xué)生選課系統(tǒng).是1道程序?qū)嵺`考試題,大家多多提意見(jiàn)!
    #include
    #include
    int N1,N2,kk1,kk2,kk3;
    struct couse * head1;
    struct student * head2;
    struct couse//課程信息結(jié)構(gòu)體
    {
    int num1;
    char name1[20];
    int score;
    int nelepeo;//課程已選人數(shù)
    int Melepeo;//課程人數(shù)上限
    struct couse * next;
    };
    struct student//學(xué)生信息結(jié)構(gòu)體
    {
    int num2;
    char name2[20];
    int nelenum[50];//已選課程編號(hào)
    int nelen;//已選課程數(shù)量
    struct student * next;
    };
    void Ms()
    {
    for(kk1=0;kk1 <1100;kk1++)
    for(kk2=0;kk2 <1200;kk2++)
    for(kk3=0;kk3 <1200;kk3++);
    }