Include another public method in the Employee class from Pencil and Paper Exercise 3. The method should

Question:

Include another public method in the Employee class from Pencil and Paper Exercise 3. The method should calculate an Employee object’s new salary, which is based on the raise percentage provided by the program using the object. Before making the calculation, the method should verify that the raise percentage is greater than or equal to 0.0. If the raise percentage is less than 0.0, the method should assign the number 0.0 as the new salary.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: