#include // class declaration class Employee { private: static float taxRate; int idNum; public: Employee(int = 0); // constructor void display(); // access function static void disp(); // static function }; // static member definition float Employee::taxRate = 0.0025; // implementation section Employee::Employee(int num) { idNum = num; } void Employee::display() { cout << "Employee number " << idNum << " has a tax rate of " << taxRate << endl; return; } void Employee::disp() { cout << "\nThe static tax rate is " << taxRate << endl; return; } int main() { Employee::disp(); // call the static functions Employee emp1(11122), emp2(11133); emp1.display(); emp2.display(); return 0; }