//THIS IS THE INTERFACE FILE// //******************************************************** //Employee class //******************************************************** #ifndef EMPLOYEE_ #include using namespace std; class Employee { private: double compute_monthly_salary(); //Postcondition: monthly salary is computed using netpay and value if returned to //function compute_salary char ssn[11]; char id[3]; double annual_salary; double netpay; double monthly_salary; public: Employee(); Employee(double); //Initializes the annual_salary with parameter void compute_salary(); //Postcondition: annual netpay is computed; 30% tax on the income if it is less //than $100000 and 40% tax if it is equal to or greater than $100000. friend istream& operator >>(istream& ins, Employee& the_object); //Overloads the >> operator for input values of type Employee. //Precondition: ins is a input stream friend ostream& operator <<(ostream& outs, const Employee& emp); //Overloads the << operator for output values of type Employee. //Precondition: outs is a file output stream }; #endif