voidorder();//排序操作voidorder_Num();//按职工号排序//浏览信息时按照职工号由小到大顺序排序voidorder_name();//按职工姓名排序voidorder_age();//按职工年龄排序//主函数voidmain(){...
include<iostream>#include<cstring>usingnamespacestd;typedefstructwage{charunit[8];charname[10];charsex[4];charbirthdate[12];chartitle[20];doublebasewage;doublesubsidy;doubletax;doubleexpen
职工信息包括职工号、姓名、性别、年龄、学历、工资、住址、电话等(职工号不重复)。试设计一职工信息管理系统,使之能提供以下功能:1、系统以菜单方式工作2、职工信息录入功能(职工...职工信息包括职工号、姓名、性别、年龄、学历、工资...
include<string.h>voidmenu(){intn,w1;do{printf("\t\t***\n\n");printf("\t\t***\n\n");printf("\t\t***choosefunction***\n\n");printf("\t\t***1Enternewdata***\n...
C语言职工信息管理系统1)参考数据结构typedefstruct{charname[10];(职工姓名)intnumber;(职工编号不重复)charsex;(职工性别)floatprice;(职工工资)charaddress;(职工住址)charlevel;(学历如专科...1)参考数据结构typedefstruct{...
newD->next=NULL;printf("pleaseenterdate\nidnamesexagesalary\n");scanf("%d%s%c%d%d",&newD->id,newD->name,&newD->sex,&newD->age,&newD->sal);...
改过了,试试看voidprintstud(structemployee*stud){inti,j;structemployeeb;//用结构体来完成数据交换,因为交换的是全体数据for(j=0;j<n-1;j++){for(i=0;i<n-1-j;i++){if(...
printf("***欢迎使用职工工资管理系统***\n");printf("请选择(0-8):\n");scanf("%d",&x);switch(x){case1:input();break;case2:search();break;case3:modi();break;case4:dele();break;...
voidmain(){charnum[3];charname[3][9];chartype[3][9];floatmoney[3];floatsum=0;inti;floataverage;printf("请输入职工的信息,\n:");for(i=0;i<3;i++){num[i]=i+1;printf(...
//链表student*linklist;intlen;voidinit_linklist(){linklist=NULL;len=0;}booladdstudent(intstudentid,char*name){student*p;p=(student*)malloc(sizeof(student));strcpy(p->sname,name);p->sid=studentid;l