编号%d\n",s[i].num); printf(" 课程名称%20s\n",s[i].name); printf(" 课程性质%20s\n",s[i].kind); printf(" 总学时%d\n",s[i].lhours); printf(" 授课学时%d\n",s[i].rhours); printf(" 实验或上机学时%d\n",s[i].crdit); printf(" 学分%d\n",s[i].score); printf(" 开课学期%d\n",s[i].term); printf("--------\n"); 内蒙古科技大学课程设计说明书 9 } break; case 2: printf(" 请输入课程名\n"); scanf("%s",search_name); i=seqsearch2(s,n,search_name); if(i==-1) printf(" 无此课程\n"); else { printf("**********\n"); printf(" 查找的课程为"); printf(" 课程编号%d\n",s[i].num); printf(" 课程名称%20s\n",s[i].name); printf(" 课程性质%20s\n",s[i].kind); printf(" 总学时%d\n",s[i].lhours); printf(" 授课学时%d\n",s[i].rhours); printf(" 实验或上机学时%d\n",s[i].crdit); printf(" 学分%d\n",s[i].score); printf(" 开课学期%d\n",s[i].term); } break; case 9: break; } }while(choice!=0); case 4: seqinsert(s,len); break; case 5: