员工管理系统 [英] Employee management system

查看:103
本文介绍了员工管理系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这个项目中,我们使用结构嵌套来维护所有员工及其子女的详细信息。考虑每个员工有四个孩子,所有人都在同一个班级学习相同数量的科目。这些是Employee,Children和Subjects的结构成员。

In this project, we maintain the details of all employees and their children using nesting of structures. Consider each employee has four children and all are studying same number of subjects in same class. These are the structure members of Employee, Children, and Subjects.

Employee         Children               Subjects
ID                name                   sub1
Name              age                    sub2
Age               gender                 sub3
Gender            struct subjects        total
Salary
Struct children



在此,您需要

1.列出所有孩子占总分数75%的员工。

2.列出员工的姓名,其薪水高于所有员工的平均工资

3.计算所有员工的男女儿童人数。 />
4.按名字对所有员工的子女进行排序并打印出来。



我尝试了什么:



i试过先生。但是我不理解嵌套的结构。现在请给我一些以上sum.pls先生的代码。请sir.sir请尝试在周日即30日举行。请将sir.pls邮寄给***************


Here, You need to
1. List all employees whose children got 75% of total marks.
2. List children names of employees whose salary more than the average salary of all employees
3. Count the number of male and female children of all employees.
4. Sort children of all employees by their names and print it.

What I have tried:

i tried sir. but i am not understanding nested structures.sir now pls pls pls provide me with the code of the above sum.pls sir. pls sir.sir pls try to give it by sunday ie 30 th nov . pls sir.pls mail me to ***************

推荐答案

引用:

我试过先生。但我不理解嵌套结构

i tried sir. but i am not understanding nested structures



嵌套结构是其他结构中的结构,没什么特别的。

例如


Nested structures are structures inside other structures, nothing special.
For instance

struct Point
{
  double x,y;
};

struct Circle
{
  struct Point center; // here Point is nested in Circle
  double radius;
};



尽量解决问题并在此处发布具体问题。


Try harder to solve your problem and post here just specific questions.


非常感谢你的个人信息,试图让我解决你的问题。



但是,这个网站不提供一对一的解决方案服务,所有答案都应该是公开,以便处于类似位置的每个人都能从中获得帮助。另外,直接回复你就意味着给你我的电子邮件地址,我每天都收到足够的电子邮件!



所以我的答案也将是公开的,因为它与你在这里发布的问题完全相关,我将在这里回答:

我们不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样困难!



如果遇到具体问题,请询问相关问题,我们会尽力提供帮助。但是我们不打算为你做这一切!



您还应该知道您的导师知道这样的网站,并且经常会来看看看谁没有做自己的工作:你可以通过这种方式作弊来使课程失败。
Thank you very much for your personal message, trying to get me to solve your problem.

However, this site does not provide a one-to-one solution service, and all answers should be public, so that everyone in a similar position can get help from it. In addition, replying directly to you would mean giving you my email address, and I receive quite enough emails on a daily basis already!

So my answer will also be public, and since it relates exactly to the question you posted here, I will answer it here:
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!

You should also be aware that your tutors are aware of sites like this, and will often come looking to see who is not doing their own work: you can fail the course by trying to cheat in this way.


这篇关于员工管理系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆