oop_c++ TEST_cases(Question2_1, First) { // static Employee *SI[10]; Employee e[10],obj,**t; for(int k=0;k


oop_c++


TEST_cases(Question2_1, First) {
//   static Employee *SI[10];
   Employee e[10],obj,**t;
for(int k=0;k<>
e[k].setSalary(1000+100*k);


}
t=obj.Temporary(e);




double result=obj.print(t,e,5);


   ASSERT_EQ(1611,int(result));
}
TEST(Question2_2, second) {
//   static Employee *SI[10];
   Employee e[10],obj,**t;
for(int k=0;k<>
e[k].setSalary(1000+100*k);


}
t=obj.Temporary(e);


double result=obj.print(t,e,5);


   ASSERT_EQ(1640,int(result));
}






Double print (Employee**, Employee [], int)











1. Generic code for N number of Employees (bon<br>2. Marks Distribution of the functions.<br>Employee (Employee&)<br>Void setter(double)<br>Employee**Temporary (Employee [1)<br>Friend double Calculate (Employee**,<br>Employee (1, int)<br>Double print (Employee*, Employee [],<br>

Extracted text: 1. Generic code for N number of Employees (bon 2. Marks Distribution of the functions. Employee (Employee&) Void setter(double) Employee**Temporary (Employee [1) Friend double Calculate (Employee**, Employee (1, int) Double print (Employee*, Employee [],

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here