亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? stusco.c

?? 學生成績管理系統(tǒng)功能有: 1. 信息錄入: 錄入學生成績信息(包括學生學號、姓名、各門課程的成績等)。 2. 信息查詢: 輸入學號
?? C
?? 第 1 頁 / 共 2 頁
字號:
      #include "stdio.h"
#include "conio.h"
#include "malloc.h"
#define LEN sizeof(struct student)
#define NULL 0

struct student
{long num;
char name[20];
float score[3];
float aver;
struct student *next;
}NODE,*NODEP;
int n;

main()
{
  void mainmenu(void);
  void menu2(void);
  void menu5(void);



  struct student * creat(void );
  void print(struct student * );
  struct student *del(struct student *,long);
  struct student *insert(struct student *,struct student *stud);
  struct student * load(void);
  void save(struct student *);
  struct student * modify(struct student *);


  void sea_name(struct student * );




  void sort_num(struct student *);
  void sort_name(struct student *);
  void sort_aver(struct student *);

  void exit();

  struct student *head,*p1,*stud;
  int op,a2,a5;
  float temp[3];
  long d_num=0;


  head=NULL;
  p1=NULL;
  if((head=load())==NULL)
  {  printf("@@@@@@@@@@@@@@@@@@@@@ WELCIOME TO THE SCORE SYSTEM  @@@@@@@@@@@@@@@@@@@@@\n");
     printf("@@@@@@@@@@@@@@@                                           @@@@@@@@@@@@@@@\n");
     printf("@@@@@@@@@           Please build the new records                @@@@@@@@@\n");
     printf("@@@@@@@@@@@@@@@                                           @@@@@@@@@@@@@@@\n");
     printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n");
     printf("                                                      &&when input 0,end \n\n");
     head=creat();
     printf("\n\n Now ,please press any key to print the information of all the students by number...\n\n");
     getch();
     clrscr();
     sort_num(head);
     print(head);
     printf("\n\n\n   Please any key to go to the main mune...");
     getch();
     clrscr();
     mainmenu();
   }
   else

   loop1:
   {printf("\n\n\n    Please any key to return the main mune...");
     getch();
     clrscr();
     mainmenu();
    }
   while(1)
   {     op=getchar();
        if (op=='8')
          {clrscr();
          exit();
          break;}
         switch(op)
         {     case '1': clrscr();
                         stud=(struct student*)malloc(LEN);
                         printf("\n=======@ Please input the additional student's information @=======");
                         loop:
                         {     printf("\n\n   Please input the student's number :");
                               scanf("%lu",&stud->num);
                         }
                         p1=head;
                         while((p1->num!=stud->num)&&(p1->next!=NULL))p1=p1->next;
                         if(p1->num!=stud->num)
                         {     printf("\n   Please input the name:");
                               scanf("%s",stud->name);
                               printf("\n   Please input the score of Chinese(0~100):");
                               scanf("%f",&temp[0]);
                               if(temp[0]<0||temp[0]>100)   
                               {
                               printf("Input the wrong mark,please input again:");
                               scanf("%f",&temp[0]);
                               }
                               printf("\n   Please input the score of English(0~100):");
                               scanf("%f",&temp[1]);
                               if(temp[1]<0||temp[1]>100)   
                               {
                               printf("Input the wrong mark,please input again:");
                               scanf("%f",&temp[1]);
                               }
                               printf("\n   Please input the score of maths(0~100):");
                               scanf("%f",&temp[2]);
                               if(temp[2]<0||temp[2]>100)   
                               {
                               printf("Input the wrong mark,please input again:");
                               scanf("%f",&temp[2]);
                               }                               stud->score[0]=temp[0];
                               stud->score[1]=temp[1];
                               stud->score[2]=temp[2];
                               stud->aver=(temp[0]+temp[1]+temp[2])/3;
                          }
                          else
                          {    printf("\n Sorry!This student's information has exited.Please input again...\n");
                               goto loop;
                          }
                          head=insert(head,stud);
                          printf("\n\n Congratulations!  Add    Successfully   ...\n\n");
                          printf("\n\n   Please press any key to print all the information by number..." );
                          getch();
                          clrscr();
                          print(head);
                          printf("\n\n        Please press any key to return Mian Mune ...");
                          getch();
                          clrscr();
                          mainmenu();
                          break;

              case '2':clrscr();
                       menu2();
                       while(1)
                       {
                       a2=getchar();
                       if(a2=='3')goto loop1;
                       switch(a2)
                       {      case '1':clrscr();
                                       sea_name(head);
                                       printf("\n\n      Please press any key to return Require Record Menu...");
                                       getch();
                                       clrscr();
                                       menu2();
                                       break;
                              case '2':clrscr();
                                       print(head);
                                       printf("\n\n      Please press any keys to return Require Record Menu...");
                                       getch();
                                       clrscr();
                                       menu2();
                                       break;
                                       
                        }}


              case '3':clrscr();
                       printf("\n\n      Please input the student's number you want to delete:");
                       scanf("%lu",&d_num);
                       head=del(head,d_num);
                       printf("\n\n\n         Press any key to output the new records ...\n");
                       getch();
                       clrscr();
                       print(head);
                       printf("\n\n        Please press any key to return Mian Menu ...");
                       getch();
                       clrscr();
                       mainmenu();
                       break;



              case '4':clrscr();
                       head=modify(head);
                       printf("\n\n\n         Press any key to output the new records ...\n");
                       getch();
                       clrscr();
                       print(head);
                       printf("\n\n\n\n            Please press any keys to return Mian Menu ...");
                       getch();
                       clrscr();
                       mainmenu();
                       break;




              case '5':clrscr();
                       menu5();
                       while(1)
                       {
                       a5=getchar();
                       if(a5=='4')goto loop1;
                       switch(a5)
                       {      case '1':clrscr();
                                       sort_num(head);
                                       print(head);
                                       printf("\n\n        Please press any keys to return Sort Records Menu...");
                                       getch();
                                       clrscr();
                                       menu5();
                                       break;

                              case '2':clrscr();
                                       sort_name(head);
                                       print(head);
                                       sort_num(head);
                                       printf("\n\n        Please press any keys to return Sort Records Menu...");
                                       getch();
                                       clrscr();
                                       menu5();
                                       break;

                              case '3':clrscr();
                                       sort_aver(head);
                                       print(head);
                                       sort_num(head);
                                       printf("\n\n        Please press any keys to return Sort Records Menu...");
                                       getch();
                                       clrscr();
                                       menu5();
                                       break;

                        }}



              case '6': clrscr();
                        save(head);
                        printf("\n\n\n\n\n      Please    press    any   key   to  trturn  mainmune ...\n");
                        getch();
                        clrscr();
                        mainmenu();
                        break;


              case '7': clrscr();
                        load();
                        printf("\n\n\n\n      Please    press    any   key   to   return   Main  Menu ...\n");
                        getch();
                        clrscr();
                        mainmenu();
                        break;
                     
}}


    getch();
}








struct student *creat(void)
{  struct student *head;
   struct student *p1,*p2,*p0;
   float temp[3];
   n=0;
   head=NULL;
   p0=NULL;
   p1=p2=(struct student*)malloc(LEN);
   printf("\n   Please input the  student's number(%d):",n+1);
   scanf("%lu",&p1->num);
   if(p1->num==0) goto end;
   printf("\n   Please input the name:");
   scanf("%s",p1->name);
   printf("\n   Please input the score of Chinese(0~100):");
   scanf("%f",&temp[0]);
   if(temp[0]<0||temp[0]>100)   
   {
   printf("Input the wrong mark,please input again:");
   scanf("%f",&temp[0]);
   }
   printf("\n   Please input the score of English(0~100):");
   scanf("%f",&temp[1]);
   if(temp[1]<0||temp[1]>100)   
   {
   printf("Input the wrong mark,please input again:");
   scanf("%f",&temp[1]);
   }
   printf("\n   Please input the score of maths(0~100):");
   scanf("%f",&temp[2]);
   if(temp[2]<0||temp[2]>100)   
   {
   printf("Input the wrong mark,please input again:");
   scanf("%f",&temp[2]);
   }
   p1->score[0]=temp[0];
   p1->score[1]=temp[1];
   p1->score[2]=temp[2];
   p1->aver=(temp[0]+temp[1]+temp[2])/3;
   while(1)
   {  n=n+1;
      if(n==1) head=p1;
      else p2->next=p1;
      p2=p1;
      p1=(struct student*)malloc(LEN);
      p1->next=NULL;
      loop:
      {
         printf("\n\n   Please input the number (%d) :",n+1);
         scanf("%lu",&p1->num);
      }
      if(p1->num==0) goto end;
      p0=head;
      while((p0->num!=p1->num)&&(p0->next!=NULL))p0=p0->next;
      if(p1->num!=p0->num)
      {
           printf("\n   Please input the name:");
           scanf("%s",p1->name);
           printf("\n   Please input the score of Chinese(0~100):");
           scanf("%f",&temp[0]);
           if(temp[0]<0||temp[0]>100)   
           {
           printf("Input the wrong mark,please input again:");
           scanf("%f",&temp[0]);
           }
           printf("\n   Please input the score of English(0~100):");
           scanf("%f",&temp[1]);
           if(temp[1]<0||temp[1]>100)   
           {
           printf("Input the wrong mark,please input again:");
           scanf("%f",&temp[1]);
           }
           printf("\n   Please input the score of maths(0~100):");
           scanf("%f",&temp[2]);
           if(temp[2]<0||temp[2]>100)   
           {
           printf("Input the wrong mark,please input again:");
           scanf("%f",&temp[2]);
           }
           p1->score[0]=temp[0];
           p1->score[1]=temp[1];
           p1->score[2]=temp[2];
           p1->aver=(temp[0]+temp[1]+temp[2])/3;
      }
      else
      {    printf("   This student's number (%lu) has exist.Please input number again.\n\n",p1->num);
           goto loop;
      }


   }
   end:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品在线观看入口| 国产成人午夜视频| 69堂国产成人免费视频| 午夜免费欧美电影| 欧美精品 日韩| 男人的j进女人的j一区| 精品久久国产字幕高潮| 国产成人午夜视频| 亚洲欧美日韩一区| 91精品国产综合久久婷婷香蕉 | 欧美国产精品v| 成人激情免费网站| 亚洲一区二区三区自拍| 日韩西西人体444www| 国产高清精品在线| 亚洲精品久久久久久国产精华液| 欧美性猛交一区二区三区精品| 丝袜诱惑制服诱惑色一区在线观看| 欧美电视剧在线看免费| 国产激情一区二区三区四区| 亚洲精品中文在线影院| 欧美成人精品1314www| 成人黄色a**站在线观看| 亚洲国产精品一区二区尤物区| 日韩久久精品一区| 91色porny| 黑人巨大精品欧美黑白配亚洲| 国产精品国产精品国产专区不片| 777奇米成人网| 粉嫩欧美一区二区三区高清影视| 亚洲电影视频在线| 中文字幕国产一区| 91精品国产综合久久福利软件 | aaa欧美大片| 日韩精品三区四区| 中文字幕在线不卡国产视频| 3751色影院一区二区三区| 成人午夜又粗又硬又大| 蜜桃av一区二区在线观看| 中文字幕日本乱码精品影院| 欧美成人乱码一区二区三区| 一本大道久久a久久综合| 国产suv一区二区三区88区| 午夜精品久久久久| 久久亚区不卡日本| 色先锋aa成人| 精品在线亚洲视频| 亚洲午夜av在线| 国产精品三级av| 欧美精品一区二区三区很污很色的| 欧美做爰猛烈大尺度电影无法无天| 国产一区二区福利视频| 秋霞国产午夜精品免费视频| 亚洲一区影音先锋| 亚洲精品老司机| 中文字幕在线不卡一区| 国产日本欧美一区二区| 精品日韩在线观看| 欧美一区二区成人| 欧美三区在线视频| 91精彩视频在线| av不卡在线观看| 波多野结衣中文一区| 国产成人在线观看免费网站| 国产一区二三区好的| 久久99久久99| 日本aⅴ免费视频一区二区三区| 亚洲18影院在线观看| 亚洲福中文字幕伊人影院| 亚洲精品久久久久久国产精华液| 亚洲欧美乱综合| 亚洲免费观看高清完整版在线观看 | 日韩精品午夜视频| 日韩电影在线一区二区三区| 天天影视网天天综合色在线播放| 亚洲自拍另类综合| 偷拍一区二区三区| 性欧美大战久久久久久久久| 婷婷开心激情综合| 天天亚洲美女在线视频| 天天综合天天做天天综合| 日韩va亚洲va欧美va久久| 日韩不卡一二三区| 久久se这里有精品| 国产在线视视频有精品| 国产精品538一区二区在线| 国产盗摄一区二区| 波多野结衣中文字幕一区| 91原创在线视频| 久久久www成人免费毛片麻豆 | 亚洲国产精品黑人久久久| 国产欧美日韩另类视频免费观看| 国产色产综合色产在线视频| 欧美国产成人精品| 一区二区三区欧美激情| 视频一区二区中文字幕| 狠狠色丁香久久婷婷综合丁香| 国产福利不卡视频| 色综合天天综合网天天狠天天| 欧美亚一区二区| 在线不卡一区二区| 26uuu国产电影一区二区| 国产精品电影一区二区| 一区二区免费在线播放| 奇米精品一区二区三区在线观看 | 久久综合丝袜日本网| 国产精品妹子av| 亚洲777理论| 国产精品一区二区三区乱码| 91小视频在线免费看| 欧美视频一区二区三区在线观看| 91精品国模一区二区三区| 国产亚洲视频系列| 亚洲一区自拍偷拍| 国产夫妻精品视频| 欧美最猛性xxxxx直播| 久久综合丝袜日本网| 亚洲日穴在线视频| 久久se精品一区二区| 99精品桃花视频在线观看| 日韩一区二区三区四区| 国产精品福利一区| 精品一区二区三区在线观看国产| 成人av在线观| 欧美变态tickle挠乳网站| 亚洲欧美日韩国产手机在线| 极品少妇xxxx精品少妇偷拍| 色天使色偷偷av一区二区| 国产亚洲一区二区在线观看| 午夜精品福利久久久| 99麻豆久久久国产精品免费优播| 日韩午夜激情免费电影| 亚洲精品国产品国语在线app| 极品少妇一区二区| 欧美高清一级片在线| 《视频一区视频二区| 加勒比av一区二区| 91精品国产福利在线观看| 亚洲麻豆国产自偷在线| 国产成人av一区二区三区在线观看| 欧美日韩中文国产| 日韩毛片在线免费观看| 国产成人在线观看免费网站| 欧美一级生活片| 午夜精品视频一区| 色屁屁一区二区| 亚洲欧洲精品一区二区精品久久久 | 欧美日韩国产另类一区| 18成人在线观看| www.av精品| 国产精品青草久久| 国产一区免费电影| 欧美mv和日韩mv国产网站| 视频在线观看一区| 欧美丝袜丝交足nylons| 一区二区三区久久久| 不卡的av中国片| 国产精品免费网站在线观看| 国产自产v一区二区三区c| 精品人在线二区三区| 日本午夜一区二区| 欧美一区二区三区在线| 水野朝阳av一区二区三区| 欧美欧美欧美欧美| 香蕉乱码成人久久天堂爱免费| 欧美三级日韩在线| 亚洲超碰精品一区二区| 欧美丝袜自拍制服另类| 亚洲国产一区视频| 欧美日韩大陆在线| 天堂av在线一区| 日韩欧美123| 国精产品一区一区三区mba视频| 精品国产在天天线2019| 国产在线精品一区二区夜色| 久久久久久久久免费| 国产精品69毛片高清亚洲| 国产精品女人毛片| 91福利国产成人精品照片| 亚洲国产综合91精品麻豆| 91精品国产高清一区二区三区蜜臀 | 欧美精品一区二区三区视频| 国产高清精品在线| 亚洲视频综合在线| 欧美酷刑日本凌虐凌虐| 六月婷婷色综合| 欧美激情一区不卡| 日本丰满少妇一区二区三区| 天天综合网 天天综合色| 久久综合色一综合色88| av在线不卡免费看| 亚洲国产成人高清精品| 欧美电影免费观看高清完整版在线 | 国产精品久久99| 欧美午夜理伦三级在线观看| 麻豆高清免费国产一区| 欧美高清在线视频| 欧美日韩亚洲不卡| 国产一区免费电影| 亚洲综合视频网|