1. Specify, design, and implement a class called Date. Use integers to represent a date’s month, day, and year. Write a method to increment the date to the next day. to Include methods to display a date in both number and word format.
2. Specify, design, and implement a class called Employee. The class has instance variables for the employee’s name, ID number, and salary based on an hourly wage. Methods ber can compute the yearly salary and increase the salary by a certain percentage. Add additional members to store the paycheck amount (calculated every two weeks) and calculate overtime (for over 40 hours per week) for each paycheck.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here