Question: ASSIGNMENT You are going to enhance the prior assignment by doing the following. Create a class that contains all prior functions, you must convert the

ASSIGNMENT
You are going to enhance the prior assignment by doing the following.
Create a class that contains all prior functions, you must convert the functions to methods of that class (do not create static methods, see the lesson for the correct way to create a class)
Test the application (You can create your own application to demonstrate the usage of the class library)
Optional assignment 1
1) Create a math class that contains add and subtract methods
2) Create a sub-class using inheritance to add multiply and divide methods
3) Create a simple program to demonstrate the usage of the inherited class.
Optional assignment 2
1) Create an employee class (id, name, hourly rate, hours worked, pay (hourly rate * hours worked)
2) Create a simple program to demonstrate the usage of the above class, the user will input (id, name, hourly rate, and hours worked), and the class will calculate the pay per employee. Be creative in how to display the data.
Optional assignment 3
1) Create a final grade class that will accept the weekly percentage grade to calculate the final grade.
2) Create a simple program to demonstrate the usage of the above class, the user will input the weekly percentage grades and the program will calculate the final grade (use the "average equation" to calculate the final)
3) create a dictionary with corresponding letter grades and use them as the output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!