#include #include // Library for I/O commands #include using namespace std; //This is Lab # 5 C & D //CompE 46 //Objection of this lab is to use Structures and Class in the program. struct EmployeeData // Structure statement { long ssn; // Social Security #. This is a member within the structure. int id; // School identification number }; class Employee//Declaration of class named Employee. { public://Public member values of Employee Employee(); Employee(double); void set_data(); void set_salary(); void compute_netpay(); void display_data(); private://Private member values of Employee. double annual_salary; double netpay; double monthly_salary(); EmployeeData emp_data; }; int main () { Employee object1, object2(500000.00);//Employee class and two object have been declared. object1.set_data();//A call to set_data. object1.set_salary();//A call to set salary. object1.compute_netpay();//A call to netppay. object1.display_data();//A call to display_data object2.set_data();//A call to set_data. object2.compute_netpay();//A call to netpay. object2.display_data();//A call to display_data return 0; } Employee::Employee() { annual_salary = 0.00; netpay= 0.00; } Employee::Employee(double annual_sal) { annual_salary = annual_sal; netpay= 0.00; } void Employee::set_data()//set_data Definition { cout << "Please enter your numerical Social Securtiy Number: " <> emp_data.ssn; cout << "Pleas enter your numerical Identification Number: " << endl; cin >> emp_data.id; } void Employee::set_salary()//set_salary Definition { cout << "What is your annual salary?" << endl; cin >> annual_salary; } void Employee::compute_netpay()//netpay Definiton { if (annual_salary < 100000)// If-Else statement if netpay is less than 100,000 netpay = annual_salary - annual_salary * .30 ; else (annual_salary >= 100000);//If-Else statement if netpay is higher than 100,000 netpay = annual_salary - annual_salary * .40 ; } void Employee::display_data()//display_data Definition { cout.setf(ios::fixed); cout.setf(ios::showpoint); cout.precision(2); //Precision set to 2 as stated in the instructions cout << "Your Social Security Number is :" << emp_data.ssn << endl; cout << "Your Identification Number is :" << emp_data.id<< endl; cout << "Your annual salary is $" <