Write a program by creating an 'Employee' class having the following functions and print the final salary.

Posted Date: