$24
(Financial application: payroll) Write a program that reads the following information
and prints a payroll statement:
Employees name (e.g., Smith)
Number of hours worked in a week (e.g., 10)
Hourly pay rate (e.g., 6.75)
Federal tax withholding rate (e.g., 20%)
State tax withholding rate (e.g., 9%)
ex:
Enter employee's name:
Enter number of hours worked in a week:
Enter hourly pay rate:
Enter federal tax withholding rate:
Enter state tax withholding rate:
Employee Name: Smith
Hours Worked: 10.0
Pay Rate: $6.75
Gross Pay: $67.5
Deductions:
Federal Withholding (20.0%): $13.5
State Withholding (9.0%): $6.07
Total Deduction: $19.57
Net Pay: $47.92
SQL:table, view, temp table, subquery, stored procedure, user-defined function;query execution plan;join, union, union all;
exception handling, transcation, trigger.
front-end: html, css, JS.(use container in bootstrap, but not original button or fonts, or override them.) flexbox.
JS: debugger,
Java: OOP, java base library. interface supports multiple inheritances; abstract class have concrete methods(only advantages).
abstract, factory, singleton, dependcy injection. Access modifer. SOLID.