Question: Employee Salaries
Define a class Employee with the following properties. Every Employee has a name and a salary. The constructor creates an Employee with a name and an initial salary. The method salarychange(amount) will increase or decrease the salary by the specified amount. The method quit() will set the salary of the Employee to zero. The method getinfo() will return the current salary of the Employee. Write a program that lets a user create Employee objects and adjust their salaries (by raises or pay cuts). After each user command, the program must print the current salary of the Employee.
Note: A simple interface is sufficient to get user input, nothing fancy is required.