☑Kizspy.me
standardSalary* K(default K= 1.0)
-If department is "GD" or "gd", K=1.5
-If department is "IT" or "it", K=2.0

toString(): String - return a string format that
contains all the information of the Professor: id,
name, department, actual Salary. The actual
salary is formatted with two decimal places and
the name and department in uppercase.
Zoom
The program output might look something like this (using Professor class):
Enter id:1
Enter name: David
Enter standard salary:5000
Enter department:IT
1.Test
calculateActual Salary()
Enter id:1
Enter name:David
Enter standard salary:5000
Enter department:HR
1.Test calculateActual Salary()
2.Test toString()
Enter id:1
Enter name:david
Enter standard salary:5000
Enter department:gd
1.Test calculateActual Salary()
2.Test toString()
+ 100%
Close