Question: Write pseudocode and C + + code for a program that does the following: Create a class named Employee. Create the following public properties with
Write pseudocode and C code for a program that does the following:
Create a class named Employee.
Create the following public properties with appropriate data types:
First NameLast NamePhone NumberEmailDepartment see class definition below
Create the private property:
Salary
Create the getter and setter functions for SalaryAdd a default constructorAdd an overloaded constructor that takes first name, last name, and phone number as arguments.Add another overloaded constructor that takes first name, last name, phone number, email, and department as arguments.Add a destructor
Create a class named Department with the following properties:
NameChairpersonChairEmail
Write a main function that creates an instance of the Employee class.
Set the properties with data
Print out the properties of the Employee and Department class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
