Answer to Question #335258 in C++ for alishba

Question #335258

Create another class employee2 from class EMPLOYEE given below. This new class

should add a type double data item called compensation, and also a string type called time to

indicate whether the employee is paid hourly, weekly, or monthly, with member functions input

and display. For simplicity you can change the manager, scientist, and laborer classes so they are

derived from employee2 and employee classes.

#include<iostream>

using namespace std;

class EMPLOYEE

{

protected:

string name;

unsigned long number;

public:

void getdata();

void putdata();

};


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS