Preview

Checkpoint Iteration Control Structure

Better Essays
Open Document
Open Document
595 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Checkpoint Iteration Control Structure
Axia College Material
Appendix G

Sequential and Selection Process Control Structure

In the following example, the second line of the table specifies that tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00.

| |Salary Range in Dollars |Base Tax in Dollars |Percentage of Excess |
|1 |0.00-1,499.99 |0.00 |15 % |
|2 |1,500.00-2,999.99 |225.00 |16 % |
|3 |3,000.00-4,999.99 |465.00 |18 % |
|4 |5,000.00-7,999.99 |825.00 |20 % |
|5 |8,000.00-14,999.99 |1425.00 |25 % |

Main Module

Declare Associate_Name as string
Declare Salary_Amount as real
Declare Base as real
Declare Excess as real
Declare Salary as real
Declare Start_Over as string

REM these are the calls for the modules that can be ran. Not all modules will run
REM because associates will only fall into 1 tax bracket

Call Input Data Module
Call Range Module
Call Salary1 Module
Call Salary2 Module
Call Salary3 Module
Call Salary4 Module
Call Salary5 Module
Call Output Module
End Main Module

Input Data Module

Write, “Please Enter Associate’s Full Name”
Input Associate_Name

Write, “Associates Salary Amount?”
Input Salary_Amount

Call Range Module
End Input Data Module

Range Module

REM these statements (if, then, else) will determine what module to call upon.

If Salary_Amount < 1,499.99
Then Call Salary1 Module

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Using the tax planning worksheets in George’s 2013 personal return, project the amounts that George would owe if he took a salary of $40,000. George would be EI exempt, but he would be subject to CPP deductions and OHIP.…

    • 462 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1 Assignment 1

    • 4963 Words
    • 20 Pages

    Tax = [(assessable income – deductions) x rate] – offsets ( note there is a order for these) –payg(w) (at the very end +- any levies)…

    • 4963 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    b. Amount of the employer’s FICA taxes for the weekly payroll? OASDI $76.92 HI $17.99 Total FICA = $94.91…

    • 541 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Problems 50 & 51 (Ch. 22)

    • 519 Words
    • 3 Pages

    Considering the 24,000 and 56,000 respectively, Jack tax basis is calculated with his original cost of 24,000 + 10,625 + 500 + 125 = 32,250.00…

    • 519 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    The purpose of the parallel array structure is to hold 2 different elements of information on budget numbers for each month. I created two parallel arrays one to hold the budget scheduled amount and another array to hold the budgeted amount that was achieved. Each array will hold information for each month. If I created this by using inputs without arrays, I would have had to create 24 different input statements to hold the 24 different elements of information. Using the array was much each and quicker. I just needed to create a loop with an end value of 12, which represented the 12 months of the year. Each pass through the loop, the month would change and I was able to enter both the scheduled budgeted information and the achieved budget. Once the loop was completed, the array was filled with information.…

    • 503 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    input the name and price of an item and its weight in pounds and ounces.…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Guess what? I am so excited! I have just been promoted to Program Manager! I am going to make such a difference for this Organization. There will be so much to do you know, with the Programs since they all have a limited time on them. Things like Purpose of Evaluations so that I can review and possibly make it better for the outcome of service/program, Evaluative Research which I can look into research on methods, Descriptive Research will be awesome because I can explain what is in the studying that goes on. The Theory is a great one; it is facts, propositions that are used in the relationship to everything of the program activities. I will be able to Input so that I can step in and use the proper methods and help with the staffing of the service that is being needed. I can oversee the Outputs as well making sure that the outcomes of the services are achieved. There is a Service Delivery Model which is the activity going on to what makes the turning the input and going to the output. Any Organization or human services needs a solid foundation in order to run properly and to be successful and achieve the end results that are to me mandatory so if there are any problems and things are not going as expected then there will have to be an evaluation and a deeper look into that organization of what the problem is to which I will call the Needs and problem Assessment. However the Outcomes of all of this will always be changing and new ways and theories to improvement on the status of services as you well know. I know that I am going to be the best that I can be and make a difference and I just had to share this with you because you have been my inspiration and role model in human services and my best friend.…

    • 333 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Livoria Sandwich Inc.

    • 1214 Words
    • 7 Pages

    Tax at 20% payable on March 31 of the following year. Tax audit found $22,500 in payables due 2013.…

    • 1214 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    There are several ways in which to organize a counseling center for victims of domestic abuse. Organization by departmentalization is a model in which the agency is broken into subgroups or departments according to process, market, program, or client and consumer needs. The most effective organization by departmentalization would be to break up the departments according to program. Victims of domestic abuse may need different programs in order to get their lives back on track. Some may be in need of counseling while others need help finding a new place to live or need help with job placement. The downside to organizing a counseling center, by program is that the counseling center may offer only a handful of services and would need to refer clients to outside organizations. If the agency did offer other programs, the victim may feel that they are overwhelmed with their options and may go back to their previous situation.…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    For this assignment I chose two of the most popular weekly news programs. The first was “Meet the Press” from my local NBC affiliate out of Chicago on March 2nd Sunday morning. It was hosted by Chuck Todd and aired at 10am. The second was from my local Fox channel also based in Chicago and was “Fox News Sunday”. It was hosted by Chris Wallace and aired at 9am on March 2nd Sunday morning. I chose these two shows due to the fact they aired at approximately the same time, on the same day, and therefore were in direct competition. Additionally Fox news is generally regarded to be a conservative based network, while NBC and their affiliates are generally considered to be influenced by liberal ideas.…

    • 693 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Mcdonalds Minimum Wage

    • 514 Words
    • 3 Pages

    not subtract the federal income tax deducted from the initial salary? So to answer my question, No. you…

    • 514 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Checkpoint forecasting

    • 261 Words
    • 2 Pages

    Financial forecasting is one of the most important developing series of projecting a financial statement. With a projection statement, a firm can estimate the inventory to the account receivable to the account payable. With the figures they can see the profits the firm could make.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Soverign Lodge

    • 1618 Words
    • 7 Pages

    NOTE: we don’t calculate the alternative for each no pool because in the case study they have mentioned that in the long time run the viability of the pool should stay even with the competition…

    • 1618 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Ms Word

    • 265 Words
    • 2 Pages

    Create a worksheet to calculate end of the year bonus for employees of Nina Hospital using the following as field option, s/n, Employee name, Department, grade level, Date employed, basic salary and bonus.…

    • 265 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    iteration control

    • 870 Words
    • 7 Pages

    4. Calculate the distance between the worm and the apple by the worm’s length till the…

    • 870 Words
    • 7 Pages
    Satisfactory Essays

Related Topics