The language is case-sensitive: payrate is not the same as payRate, maxhours is not the same as maxHours.
Function signatures are important:
does not matchCode:void displayData (int, float, int);
Code:void Employee :: displayData() ////invalid function declaration