I have an assignment to implement a salesperson class.
Here is the layout I got from prof.
My questions are typed in red between function prototypes.
Any help is appreciated.
Thanks.
cClass Salesperson
{
public:
Salesperson(); //default constructor
// I know that a default constructor is suppose to set the values by default but how would I do this implementation for this constructor. I mean what would this constructor set the value for and how.
~Salesperson(); // destructor
Salesperson(double q1, q2, q3, q4);
void getsales();
// how would I use this function
void setsales(int quarter, double sales);
//And how would I use this function
void printsales();
void ReadFile();
void EditFile();
private:
double slaes[4];//quarterly sales figures
};