English
English, 21.05.2020 23:59, hannahgracew12

Write a c++ program '
Consider that a system has two entities, Employee and Department. The employee has the following properties: employee name, number, SSN and salary. Similarly, the department has the following properties: department name, department number and a set of employees who are working on that department.

Implement the above system taking into account the following requirements:

In department, the number of employees that are working on this department is decided at the time when instantiating the department.

Assume that emp1 and emp2 are two objects of type Employee, write a code that enables you to write: if (emp1.isequal (emp2)). Where emp1, emp2 are employee objects. The statement is true if the objects have the same salary.

In department, make sure no two employees have the same employee number.

In department, write a method to increase the salary of an employee by a specific value. it should validate that value.

Write a getEmpByEno method in class department that returns a pointer to one of the employees in that department using the Employee number.

Write a getEmpByName method in class department that returns a list of employees in that department who have the same name.

Write a method to find the maximum salary in the department.

Write a code that enables you to write: if (equal (dept1, dept2)). Where dept1 & dept2 are departments object. The statement is true if the two departments have the same sum of employee salaries.

c++ program

answer
Answers: 3

Other questions on the subject: English

image
English, 21.06.2019 18:20, 20hadams
Which expression best estimates 11 1/5 divid
Answers: 1
image
English, 21.06.2019 21:10, dillon3466
Read the passage below and answer the question. marcus had a reputation for being craven. no one had ever seen him do a single brave thing. using context clues, how would you define the word craven in the passage? intense courageous cowardly thoughtful
Answers: 1
image
English, 21.06.2019 23:20, maguilarz2005
In these frames, the author emphasize the challenges lqbal faced by showing
Answers: 2
image
English, 21.06.2019 23:30, dannariushartman
Plz (i only understand "the song of wandering aengus." and i have no idea what the raven means so i can't answer this. me i will give brainlest and a 5-star rating) consider the speakers in "the raven" and the speaker in "the song of wandering aengus." write two paragraphs to compare and contrast the voice in these two poems. how does the poet give the speaker in each poem a distinctive voice? what effect does this voice have in each poem? use examples from each poem to as evidence for your answer
Answers: 2
Do you know the correct answer?
Write a c++ program '
Consider that a system has two entities, Employee and Department. The emp...

Questions in other subjects: