File Salary.java contains most of a program that takes as input an employee’s salary and a rating of the employee’sperformance and computes the raise for the employee. This is similar to question #3 in the pre-lab, except that theperformance rating here is being entered as a String—the three possible ratings are “Excellent”, “Good”, and “Poor”. As inthe pre-lab, an employee who is rated excellent will receive a 6% raise, one rated good will receive a 4% raise, and one ratedpoor will receive a 1.5% raise.Add the if… else… statements to program Salary to make it run as described above. Note that you will have to use the equalsmethod of the String class (not the relational operator ==) to compare two strings
Hi there! Click one of our representatives below and we will get back to you as soon as possible.