void Person:: setPay(float thePay)
{
pay = thePayRate;
}
void Person::setHours(int theHours)
{
hours = theHoursWorked;
}
Have a problem here with those variable names. Also, does your compiler warn you about iostream.h? Should just be #include <iostream>