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 getlinecinvariableName; for all strings to allow spaces
In main
create an employeelnfo object called emp
call the give raise function for emp
call the printEmployee function for emp
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
