Do you have a question that we can help with?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
#include <iostream>
#include <string>
using namespace std;
class Employee {
private:
int employeeId;
string FirstName;
string LastName;
char employee_type;
string employee_status;
int employee_assignment;
public:
Employee();
Employee(string, string, char, int);
double calculatePay();
void displayEmployee();
string getFirstName();
void setFirstName(string);
string getLastName();
void setLastName(string);
char getEmployeetype();
void setEmployeetype(char);
int getEmployeeassignment();
int setEmployeeassignment(int);
};
Employee::Employee() {
}
Employee::Employee(string first, string last, char type, int assi) {
}
string Employee::getFirstName() {
return FirstName;
}
void Employee::setFirstName(string name) {
FirstName = name;
}
string Employee::getLastName() {
return LastName;
}
void Employee::setLastName(string name){
LastName = name;
}
char Employee::getEmployeetype(){
return employee_type;
}
void Employee::setEmployeetype(char type) {
//switch (type);
}
void Employee::displayEmployee() {
}
int main()
{
//firstName = "not given";
//lastName = "not given";
void displayEmployee();
string getFirstname();
void setFirstName(string first);
string getLastName();
void setLastName(string last);
cout << "Employee Information\n";
return 0;
}
|
OP can fix up the rest!!
Last edited on