Write a program by creating an 'Employee' class having the following functions and print the final salary.
Question:
Write a program by creating an 'Employee' class having the following functions and print the final salary. 1 - 'getInfo()' which takes the salary, number of hours of work per day of employee as parameters 2 - 'AddSal()' which adds $10 to the salary of the employee if it is less than $500. 3 - 'AddWork()' which adds $5 to the salary of the employee if the number of hours of work per day is more than 6 hours. (5 points) Add a method to the previous class that would print the information (name, year of joining, salary, address).
The output Name Year of joining Address Robert 1994 64C- WallsStreat (5 points )Write a Shape class that has an empty initializer and a empty method for Area (5 points ) Write a program to extend the Shape class for the previous problem by creating a class named 'Triangle' with an overridden function to print and calculate the area and add a function o print and calculate perimeter.
This Triangle class should take in the length of each of its two sides, and the angle between them when initialized. ** Area = (ab x sin C)/2 import math = # Return the sine of different values print (math.sin(0.00)) (5 points ) Write a program to extend the Shape class for the previous problem by creating a class named Rectangle with an overridden function to print and calculate the area and add a function to print and calculate perimeter. This Rectangle class should take in the height and width when initialized. ** Area = (height * width)