Course Solutions Uncategorized (Solved) : C Write Class Named Employee Following Member Variables Name String Holds Employee S Name Q26182003 . . . .

(Solved) : C Write Class Named Employee Following Member Variables Name String Holds Employee S Name Q26182003 . . . .

 

For C++

Write a class named Employee that has the following membervariables:

name.A string that holds the employee’sname.

idNumber.An int variable that holds theemployee’s ID number.

department.A string that holds the name of thedepartment where the employee works.

position.A string that holds the employee’s jobtitle. The class should have the following constructors:

A constructor that accepts the following values as arguments andassigns them to the appropriate member variables: employee’s name,employee’s ID number, depart- ment, and position.

A constructor that accepts the following values as arguments andassigns them to the appropriate member variables: employee’s nameand ID number. The department and position fields should beassigned an empty string (“”).

A

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post