Đang Thực Hiện

163624 Sequential and Selection Proce

You are an accountant setting up a payroll system for a small firm. Each line of the table in Appendix G indicates an employee’s salary range and corresponding base tax amount and tax percentage. Given a salary amount, the tax is calculated by adding the base tax for that salary range and the product of percentage of excess and the amount of salary over the minimum salary for that range.

• Design a program that solves this problem.

• Generate a set of input test values

• Perform a design walkthrough to verify your design

In the following example, the second line of the table specifies that tax due on a salary of $[url removed, login to view] is $[url removed, login to view] plus 16% of excess salary over $[url removed, login to view] (that is, 16% of $[url removed, login to view]). Therefore, the total tax is $[url removed, login to view] + $[url removed, login to view], or $305.00.

Salary Range in Dollars Base Tax in Dollars Percentage of Excess

1 0.00-1,[url removed, login to view] [url removed, login to view] 15 %

2 1,500.00-2,[url removed, login to view] [url removed, login to view] 16 %

3 3,000.00-4,[url removed, login to view] [url removed, login to view] 18 %

4 5,000.00-7,[url removed, login to view] [url removed, login to view] 20 %

5 8,000.00-14,[url removed, login to view] [url removed, login to view] 25 %

Kỹ năng: Bất kì công việc gì, Lập trình C, Java, Visual Basic

Xem thêm: sequential programming, sequential design, selection problem, salary range, perform line, accountant payroll, accountant line, 000 dollars, tax firm, walkthrough , selection, java tax, sequential, appendix, range table, programming sequential, small example program java, programming salary, salary 2000, design walkthrough, java payroll system, payroll program java, payroll program programming, tax table, product selection

Về Bên Thuê:
( 1 nhận xét )

Mã Dự Án: #1909815