Sequential and Selection Processing Control Struct

posted by .

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.


I am confuse on how to go about design the the program for it.

  • Sequential and Selection Processing Control Struct -

    Suggested steps:
    1. understand the requirements of the program (from a given input salary, calculate required tax)
    2. understand the algorithm of the tax calculation.
    3. prepare a pseudocode that will satisfy the requirements.
    4. code in the desired programming language of your choice.
    5. test the code using different test data.
    6. document the program.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. IT 210

    I need help with Sequential and selection processing control structures Appendix G
  2. Business Maths

    Prior to the last weekly payroll period of the calendar year, the cumulative earnings of employees A and B are $99,350 and $91,000 respectively. Their earnings for the last completed payroll period of the year are $850 each. The amount …
  3. Information Technology

    I have this assignment due tonight in about 2 and a half hours. I am going to try to finish it the best that I can but I do not know if I will be able to. I really am stuck. I have no idea where to even start on this. Can somebody …
  4. economics

    Payroll Tax- You are an economic consultant to a city that just imposed a payroll tax of $1 per hour of work. This payroll tax is paid by workers through a payroll deduction; for each hour of work, the employer deducts $1 and sends …
  5. fundamentals of accounting 1

    journalizing payroll transactions, for Keller Systems;Inc, paid cash for april's payroll tax liability. withheld taxes from april payrolls; employee income tax,$532.00; social security tax,$634.88; and medicare tax,$148.48. paid cash …
  6. accounting 1

    help with journalizing payroll transactions and filling on the cash payments journal, may 15, paid cash for april's payroll tax liability. withheld taxes from april payrolls; employee income tax,$532.00; social security tax,$634.88; …
  7. accounting 1

    help with journalizing payroll transactions and filling on the cash payments journal, may 15, paid cash for april's payroll tax liability. withheld taxes from april payrolls; employee income tax,$532.00; social security tax,$634.88; …
  8. BUSINESS IT

    firstly write a program to accept the number of telephone calls made by a customer and the print out the rate in cents. secondly define a structure employee with name, category , salary, tax as a member. read the name category and …
  9. Programming

    1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of R700, …
  10. Programming c++

    a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales …

More Similar Questions