2021-2022收藏的精品资料C语言职工工资管理系统.doc

上传人:可****阿 文档编号:30706281 上传时间:2022-08-06 格式:DOC 页数:13 大小:779KB
返回 下载 相关 举报
2021-2022收藏的精品资料C语言职工工资管理系统.doc_第1页
第1页 / 共13页
2021-2022收藏的精品资料C语言职工工资管理系统.doc_第2页
第2页 / 共13页
点击查看更多>>
资源描述

《2021-2022收藏的精品资料C语言职工工资管理系统.doc》由会员分享,可在线阅读,更多相关《2021-2022收藏的精品资料C语言职工工资管理系统.doc(13页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、Building industry opens up new world of entrepreneurial struggle to build a three provinces of regional central cities-in the Communist x counties the six plenary session members and comrades: today, I was commissioned by the County party Committee Standing Committee, reports to the General Assembly

2、. Consideration of all members and alternates, and comrades attending advice. A, and this year yilai of work recalled this year yilai, in municipal of right led Xia, County solidarity led County people, to science development views for guide, to good activities for mainline, according to a city four

3、 modernizations three more of development thought, concentrated poly force, work hard, political, and economic, and culture, and social and party of construction are made has new progress, County rendering out wind fresh are, and career prosperity, and social settled, and people mind into of good si

4、tuation. (A) facilitating the construction of the project. Firmly establish the scratch project is economic, grasping development project is to hold philosophy, to extraordinary efforts to promoting the construction of key projects. Plot 108 key projects for the year, with a total investment of 29.3

5、 billion yuan, iron plate, Josh stone cement waste heat power generation and 13 projects completed, worship of 1.2 million tons of pellets, Hua Yu 80,000 sets of grandparent chicken farming, 47 projects under construction, completed investment of 3.95 billion yuan, annual plan of 69.3%. The first ha

6、lf of the Countys gross domestic product is expected to reached 8.5 billion yuan, and total revenue of 943 million Yuan. (B) structural adjustment achieved remarkable results. Actively transforming the pattern of economic development, industrial ecology, and agricultural modernization and industrial

7、ization of services. High x-County • Tin iron circular economy demonstration area, and further expand economic development zone Jing Dian recycle economy ecology industry Park, Park, circular economy and rapid economic development. Focus more on the dialectical relationship between development

8、 and environmental protection, energy saving and emission reduction projects play an important role. Vigorously developing agriculture, ecological agriculture, agriculture, modern agricultural clearing along the River Promenade begins to take shape. Key tourism projects is going well, WA Palace area

9、 was named top ten most influential cultural relics in Hebei province landscape. Develop new services, and services with new developments. (C) urban-rural integration process. Promoting three-year difference campaign, battle of two large demolition completed 32 days of 530,000 square meters, exceede

10、d the annual Task 7 months in advance. General big building jiangjun road, bridge and highway bridges, the green heart of the city and other urban construction projects, and focus on building new countryside and new housing model villages, urban and rural areas improve. Highway opened to traffic, Li

11、u Zhang, Qing LAN high-speed x-County section completed by the end of August. Urban and rural昆明理工大学 程序设计基础课程综合设计实践教学课题报告课程名称: c语言程序设计 课题名称: 职工工资管理程序设计 组 长: 学号 1姓名李双江组 员: 学号 6姓名王洪雨学 院: 电力工程学院 专业班级: 水文与水资源工程 指导教师: 张启富 昆明理工大学计算中心2006 年 6 月 12 日昆明理工大学计算中心程序设计基础课程综合设计实践教学课题考核表课题名称:职工工资管理程序设计 学院:电力工程学院 专业

12、班级:水文051 学号姓名小组编号题号承担及完成的内容成绩备注小组自评教师评定1李双江1. 选项菜单集成各功能函数模块2 . 职工工资进行排序并存入文件80926王洪雨1 录入职工工资信息2. 将排序后的文件输出并显示在屏幕上7575设计说明与功能描述(基本思路及关键语句说明)该程序首先是对程序中要产生的一些函数的定义,再在主函数中对它们进行调用。从而形成一套有条理的程序设计,并且能够很好的达到程序设计的目的。程序中,我们运用了语句,极其指针、文件等,方便的执行了对数据的操作。职工信息管理系统提供以下几个功能:1录入职工基本信息:录入要管理统计的职工信息。2汇总职工信息:计算职工的总工资。3排

13、序并将数据存入文件:按总工资降序排列并将数据存入D盘空间。4输出数据表:将录入的职工数据输出。 组长签名: 200 6 年 6 月 12 日教师评语:按要求完成综合设计课题,符合教学要求,应用能力与实践能力有明显提高 教师签名:张启富 2006 年 6 月 16 日 第一部分 系统概述一、程序功能: 随着社会的发展,中小型企业在我国得到迅速发展,工资管理系统对企业的资金管理,起着越来越重要的作用。本程序就是为了更好更快的管理职建立的工工资而。它从标准输入设备(键盘)上输入一批职工工资信息,计算总工资,并按工资降序排序,最后输出到文件中,并将其显示到显示器上。二、程序算法:从主菜单中选择相对应的

14、数字,使程序进入不同的程序模块,用switch实现其功能,程序共分为五个模块,分别为:主函数、Input( )函数(输入函数)、Paixu_fout(rs)函数(计算职工工资信息并输入文件)、Output(rs)输出函数(从文件中读入信息并将其输出到显示器)。各函数主要算法见个流程图第二部分 数据结构设计三、定义结构体: 定义一个包括职工信息极其工资基本信息,包括基本工资、奖金及其津贴,以及总工资的结构体。如下面所所示:structXSchar gh10;char name10;int salary;intreward;intjintie;intsum;cjRS,jd;四、数组设计: 程序中定

15、义是两个字符型数组结构和一个结构体数组: 字符数组gh10在结构体中用于保存职工工号,name10用于保存职工姓名,结构体数组cjRS保存学生的所有信息。五、函数定义: 程序中定义了3个功能函数,它们是输入职工信息输入函数Input();排序并将职工信息输入文件函数Paixu_fout(rs);输出学生信息函数Output(int rs)。最后是主函数main()来调用以上3个函数。主函数流程图程序结束输入数据排序并存档输出数据退出系统出错判断客户选择主函数入口第三部分 使用程序说明八、调试:错误:原因:main()函数当中循环次数多了一个getchar(),导致必须输入两次数字才可以返回ca

16、se 1:rs=Input();js(rs);break;case 2:Paixu_fout(rs);printf(t排序后的职工信息已存入D盘中的tlj.txt中n); getchar();printf(t按任意键返回!n);getchar();break;for(i=0;i=0)break;/检验输入值合法性 else printf(t输入错误,请重试:); printf(t%s职工的奖金:,jd.name);/输入职工的奖金while(1)scanf(%d,&jd.reward); if(jd.reward=0)break;/检验输入值合法性 else printf(t输入错误,请重试:

17、);printf(t%s职工的津贴:,jd.name);/职工的津贴while(1) scanf(%d,&jd.jintie); if(jd.jintie=0)break;/检验输入值合法性 else printf(t输入错误,请重输:);cji=jd;i+;getchar();/计算职工工资基本信息函数js(int rs) int i;FILE *pk;if(pk=fopen(D:tj.txt,w)=NULL)/打开文件printf(文件打开失败!);exit(0);for(i=0;irs-1;i+)/计算总和 cji.sum=cji.salary+cji.reward+cji.jintie

18、;fprintf(pk,%-10s%-10s%4d%4d%4d%4dtn,cji.gh,cji.name,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);/排序并将人员信息输入文件Paixu_fout(int rs)FILE *pk;int i,j;if(pk=fopen(G:tlj.txt,w)=NULL)printf(文件打开失败!);exit(0);for(i=0;irs;i+)for(j=0;jrs-i;j+)if(cjj.sum=cjj+1.sum)jd=cjj+1;cjj+1=cjj;cjj=jd;fprintf(pk,%-

19、10s%-20s%4d%4d%4d%4dn,cji.gh,cji.name,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);Output(int rs)int i;FILE *pk;if(pk=fopen(D:tlj.txt,r)=NULL)printf(文件打开失败!);exit(0);printf(ntt职工工资排名如下:nn); printf(t编号 t 姓名t 基本工资 t 奖金 津贴 总和 n);for(i=0;irs;i+)fscanf(pk,%-10s%-20s%4c%4d%4d%4dt%4dn,cji.gh,cji.na

20、me,&cji.salary,&cji.reward,&cji.jintie,&cji.sum);fprintf(stdout,%-10s%-8st%-10d%-10d%-10d%-10dtn,cji.gh,cji.name,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);main() int rs,c,t=1;while(t) printf(t*本系统为职工工资管理系统* n); printf(t*欢迎使用本系统* n); printf(tt 1.录入员工及工资信息 n);printf(tt 2.职工工资进行排序并存入文件 n);pr

21、intf(tt 3.将排序后的文件输出并显示在屏幕上 n);printf(tt 4.退出程序。 n);printf(t* n); printf(tt请选择对应编号(1,2,3, 4));scanf(%d,&c);getchar();if(c1|4c)printf(t输入错误!请重输:n);continue;switch(c)case 1:rs=Input();js(rs);break;case 2:Paixu_fout(rs);printf(t排序后的职工信息已存入D盘中的tlj.txt中n); getchar();printf(t按任意键返回!n);getchar();break;case

22、3:Output(rs);printf(t按任意键返回!n);break;case 4:t=0;printf(t*!谢谢使用!*n);printf(ttt按任意键返回!n);break; 社会关注的重要事项,全部实行三公开,保证了人民群众的知情权、参与权和监督权认真落实党风廉政建设责任制,积极参与廉政教育,自觉杜绝腐败现象发生,全力维护机关干部的正派形象。development work steadily in the pilot counties, to build peace neighborhood offices approved, change, urban and rural co

23、mmunities (Center), immigrant communities, pilot projects such as integrated management of urban and rural sanitation in order. (D) maintain social harmony and stability. In the case of tight financial situation, continue to increase the input of people, happy people battle. Urban central heating an

24、d upgrade rural power grids, rural reconstruction of shabby housing ten major projects being delivered, has been overfulfilled ahead. Strengthening of social programs, college entrance examination to record heights; new rural insurance coverage rate of the citys first, launched in new rural cooperat

25、ive medical clinic co-ordination; . Perfect Park catering, accommodation, education, recreation and other tertiary industries supporting, improving socialization service level, for industries, businesses and create a good environment for development. 3, flexible investment, enhance the industry. Con

26、struction of industrial parks, just set up a platform for the development of only attract more projects into the district, to form agglomeration advantages. A innovation project. To be purposeful, targeted investment, will have a basis of the Countys industrial packaged bundles, overall publicity an

27、d promotion. Initiative going, please come in and carry out all-round, multi-level and wide-range of investment activities. The Township industrial projects, in principle, to put to the West industrial parks. What town project, is that the output value of the Township. Second, we must grasp the stan

28、dards selected items. Full account of extend the industry chain and the integration of factors of production, not only efforts to introduce a number of scientific and technological content and high added value, growth and strong driving force of large projects and large enterprises, but also on dome

29、stic-funded enterprises and in accordance with the direction of industrial development of small and medium projects, project man, small project overwhelming. Meet the area of the Countys new industrial projects and city back into rural enterprises, in principle, all stationed in industrial parks. Me

30、anwhile, strict control of excess capacity and high energy consumption, high emission enterprises to enter. Thirdly, increased incentives on the project. Investment of the whole society, the Township and County units go out and draft project. To establish investment incentives for successful introdu

31、ction of significant project gives awards to units and individuals, the introduction of tax for the implementation of the project, to introduce organization into rewards. 4, preferential policies, and security industries. In terms of project examination and approval, by area Administrative Committee in conjunction with the development, planning, land, industry and commerce, quality control and other departments, one-stop reception, one-stop service, the simplified procedures, the time limit originally. In the management of EIA in accordance with the

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 工作计划

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com