Developing Simple and More Complex Programs

In the previous module you wrote a simple RAPTOR program to let you input one employee’s data and compute some basic payroll information. Now expand on that program. Using RAPTOR make use of its built-in SELECTION and LOOP structures to let you flowchart the program and then run it. Spiral Development Plan This Payroll Program with Withholding will help a small business compute its weekly payroll print out the information for each paycheck and keep running totals on gross payroll as well as various withholding funds – taxes social security and pension. In order to do that it will have to create some variables for those cumulative or running sums and each time it inputs computes and outputs an individual employee’s paycheck it will need to add those values to these accumulator variables. The wage rates tax rates wages etc. are all in a currency of your choice – just be consistent with the symbol you use the prompts you give the etc. But – all computations inputs and outputs will be in that base currency. No “currency exchange” needed here! “What kind of numbers?” For a start use floating point numbers (reals). Design Considerations Chapter two introduces the concept of a module as a stretch of code that you name define its work and then CALL it to use it when you need to. You may find this module approach makes designing the program easier. Even without it you’ll see that: The lazy/efficient programmer might study that indented bullet list convince themselves as to whether it is or is not a correct way to do this program and use it as a start on a pseudocode design for the program! But we’re doing this in RAPTOR… pseudocode is optional and if it helps you see what you have to do then you’re welcome to use it! Program

Requirements: Input data: Output data: Possible Error-Checking to Consider:

Requirements: 1 page | .doc file

There is an “outer” flow (input the company-wide payroll rate information; initialize variables; etc.)then there’s a loop that:prompts for an employee ID number and if positive it:prompts for all the paycheck datacomputes the paycheckwrites that employee’s paycheck (outputs the data and)adds that employee’s gross wages tax withheld social security and pension withholding amounts to their respective accumulators;and when there are no more employees to write checks for it prints a report that says how many employees it wrote checks for the total amounts of the gross pay and withholding amountsand then stops. then there’s a loop that:prompts for an employee ID number and if positive it:prompts for all the paycheck datacomputes the paycheckwrites that employee’s paycheck (outputs the data and)adds that employee’s gross wages tax withheld social security and pension withholding amounts to their respective accumulators;and when there are no more employees to write checks for it prints a report that says how many employees it wrote checks for the total amounts of the gross pay and withholding amountsand then stops. prompts for an employee ID number and if positive it:prompts for all the paycheck datacomputes the paycheckwrites that employee’s paycheck (outputs the data and)adds that employee’s gross wages tax withheld social security and pension withholding amounts to their respective accumulators; prompts for all the paycheck data computes the paycheck writes that employee’s paycheck (outputs the data and) adds that employee’s gross wages tax withheld social security and pension withholding amounts to their respective accumulators; and when there are no more employees to write checks for it prints a report that says how many employees it wrote checks for the total amounts of the gross pay and withholding amounts and then stops. For each employee their name ID number hourly wage rate number of hours worked and the percentage of gross wages that they contribute to their pension plan each pay period. For all employees (input once at start of program) the income tax withholding rate the Social Security tax withholding rate. For each employee paycheck data consisting of name ID number wage rate number of regular time hours worked number of overtime hours worked (in excess of 40 hours) gross pay (including both regular pay for hours up to 40 and overtime at 1.5 times base pay rate for hours beyond 40 hours a week); income tax withheld (tax rate times gross pay); Social Security withheld (SS tax rate times gross pay); Contributions to Pension withheld (contribution rate times gross pay); Net pay (gross minus taxes and pension). After last employee: output the running (cumulative) totals of the gross pay income tax withheld social security tax withheld and pension contributions withheld. If you added up the three withholding amounts (tax social security pension) and subtracted that number from the gross payroll should it equal the total of all of the net pay that was paid to the employees across all of the paychecks? Why or why not? How should your program behave if the user puts in ridiculous values (such as an hourly wage rate of a million dollars and twelve cents)? Or a negative number for one of the withholding rates?

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 3234125597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 25% with the discount code CLASS