Make a C# program that define a classHuman with properties "first name" and "last name". Define the classStudent inheritingHuman, which has the property "mark". Define the classWorker inheriting Human with the property "wage" and "hours worked". Implement a "calculate hourly wage" method, which calculates a worker’s hourly pay rate based on wage and hours worked. Write the corresponding constructors and encapsulate all data in properties.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here