资源描述:
《c语言人事工资管理系统源程序》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、#include#include#include#defineN300voidinput();//输入模块voidsave();//保存模块voidread();//读盘模块voidready();voidlist();//列表模块voidsfbc();//是否保存voiddel();//删除模块voidmodify();//修改模块voidsearch();//查询模块doublegzjs(inta);//工资计算模块intcheck();//voidygdl();//员工登陆structwor_info{chargh[8
2、];//工号charxm[7];//姓名charxb[3];//性别charzw[21];//职位(jingli,zhuguan,yuangong)intnl;//年龄intgl;//工龄floattc;//提成doublegz;//工资};structwor_infowor[N+1];intCurrentCount=0;voidmain(){intdl,xz=1;printf("欢迎实用员工基本信息管理系统");printf("请输入您的登陆类型(1--管理登陆,2--员工登陆查看(信息录入后方可查看))");scanf("%d",&dl);if(dl==
3、2)daxie,foodandextortingmoney.InJune,YuQingZhigetJapaneselivedwiththreeareasofintelligencetroopsquietlytoMaoTaXiang,scatteredbetweenlurkinginthemulberryHouse.Thisevening,thepuppetoftheboatsdockedinShengTangKong,overmorethan50landingelves,wenttoGrandRapidsbridgeatdusk,allexposedinthepalemoonlig
4、ht.Yugavetheorder,themachinegun,riflevolley,elves,rattledoffthebridgeback,andygdl();elseif(dl==1){if(check()!=0){printf("您无权实用本系统..........");system("pause");}else{while(xz!=0){printf("请输入相应的功能:");printf("1-录入2-排列3-保存4-读取5-查询6-修改7-删除0-结束请选择:");scanf("%d",&xz);switch(x
5、z){case1:input();break;case2:list();break;case3:save();break;case4:read();break;case5:search();break;case6:modify();break;case7:del();break;case0:printf("谢谢使用本系统!");system("pause");default:printf("无此功能,请重新选择.......");system("pause");}}}}}daxie,foodandextortingmoney.InJune,YuQingZhi
6、getJapaneselivedwiththreeareasofintelligencetroopsquietlytoMaoTaXiang,scatteredbetweenlurkinginthemulberryHouse.Thisevening,thepuppetoftheboatsdockedinShengTangKong,overmorethan50landingelves,wenttoGrandRapidsbridgeatdusk,allexposedinthepalemoonlight.Yugavetheorder,themachinegun,riflevolley,el
7、ves,rattledoffthebridgeback,andvoidinput(){charsfjx=1;while(sfjx!=0){if(CurrentCount==N){printf("人数已达上限,不能添加!!!");sfjx=0;}else{CurrentCount++;printf("请输入一个人员的相关信息(工号,姓名,性别,职位(jingli,zhuguan,yuangong),年龄,工龄,提成(小数))");scanf("%s%s%