Question: Create a program that uses a class. Members: Name Street Address City State Zipcode Department Salary Member Functions: employeeIntake Allows user to input all of

Create a program that uses a class.
Members:
Name
Street Address
City
State
Zipcode
Department
Salary
Member Functions:
employeeIntake
Allows user to input all of the employees info
giveRaise
prompts the user for a percentage to increse the employees salary, does the operation and increases the salary by the percentage the user
enters in.
printEmployee
Prints all the employee's info
Use getline(cin,variableName); for all strings to allow spaces
In main()
create an employeelnfo object called emp1
call the give raise function for emp1
call the printEmployee function for emp1
Create a program that uses a class. Members: Name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!