PROBLEM: Develop an algorithm and subsequent flowchart with full user documentation and programmer documentation to process the weekly payroll of the Brooks Leather Company (BLC). For each employee of BLC your program will compute the gross pay, deductions, and net pay. This information is to be clearly printed in the output. Each week BLC enters the following information into a data file called 'paydata' for all the employees: Sample input data: 123456789 25.5 3 40 234567812 15.5 4 45 234512345 16.3 0 60 Social insurance number (9 digits) Hourly pay rate (xx.xx) Number of exemptions (0 to 19) Hours worked (xx.x) Using this file of information for all the employees, your program should carry out the following computations. (a) Gross Pay Regular pay for the first 40 hours and time-and-a-half beyond that up to a limit of 54 hours in any given week. (b) Deductions Let gross represent gross pay and taxable represent taxable pay. Let exempt represent the number of exemptions. (i) Federal income tax withholding (federal) is defined as: taxable = gross - $14.00 * exempt - $11.00 federal = taxable *(0.14 + 2.3 x 10-4 * taxable) (ii) Provincial income tax withholding (prov) is defined as 35% of the amount withheld for federal income tax. (iii) Pension withholding (pension): $16.50 or (7.7% of gross), whichever is smaller. (c) Net pay Gross pay less all deductions. For each employee, your program would produce an output report in a legible format with each item clearly labelled. Your program must be capable of processing an arbitrary number of data and should perform reasonable operations for all data sets regardless of how meaningless they are. (For example, what if deductions exceed net pay? What if taxable pay is negative? Be careful to check those and similar situations and decide the appropriate action.) Verification of the input data is known as an error check. Error checks on the input data are an integral part of every good program. The input data must be checked to make sure that it is valid (within the given ranges). For example: 'Hourly pay rate' must be a non-negative number between 0 and 99.99. You should perform error checks for 'hourly pay rate', 'number of exemptions', and 'hours worked'. You need not check to see that the 'social insurance number' is a 9 digit number. (You do not know how to do this yet.) Plan your flowchart solution according to the guidelines below: 1. Use the same variable names in the flowchart as you would use when coding the program. For example, 'rate' for 'hourly pay rate', 'grosspay' for 'gross pay' and 'taxpay' for 'taxable pay'. Try to use meaningful names, g and t are not very descriptive. 2. The print box(s) of your flowchart should contain only the variable names of the data to be printed. As you are not coding this problem you need not worry about the configurations of an output table. The design of the output normally need not be considered at the flowcharting stage of a program. 3. You must use a separate box for each decision. Do not combine several decisions in one decision box. Remember: Decision steps of flowcharting questions in all the course examinations must be done in this manner. 4. Use the proper box for each type of operation. Follow the guidelines in flowcharting. 5. For each employee with invalid input data, the program should print out an appropriate error message and continue directly with the next set of input data. The program should not calculate the pay of any employee with invalid data. 6. Use eof function to check end of input
MyAssignmenthelp.com solves all kinds of problems associated with dissertation writing by providing dissertation methodology help, dissertation literature review help, dissertation introduction help, dissertation conclusion help and so on. In this manner, MyAssignmmenthelp.com has become perfect solution for those who often wonder can someone do my dissertation or can I pay for dissertation online. Our dissertation writing services is the best answer to students query can someone write my dissertation within deadline at affordable price.
Just share requirement and get customized Solution.
Orders
Overall Rating
Experts
Our writers make sure that all orders are submitted, prior to the deadline.
Using reliable plagiarism detection software, Turnitin.com.We only provide customized 100 percent original papers.
Feel free to contact our assignment writing services any time via phone, email or live chat. If you are unable to calculate word count online, ask our customer executives.
Our writers can provide you professional writing assistance on any subject at any level.
Our best price guarantee ensures that the features we offer cannot be matched by any of the competitors.
Get all your documents checked for plagiarism or duplicacy with us.
Get different kinds of essays typed in minutes with clicks.
Calculate your semester grades and cumulative GPa with our GPA Calculator.
Balance any chemical equation in minutes just by entering the formula.
Calculate the number of words and number of pages of all your academic documents.
Our Mission Client Satisfaction
Commendable work by the expert and the team, i was really worried about my online test, but it was really nicely and timely done by the professional expert of my assignment help, I\'m really thankful and hoping for coming again in the future.
Australia
Again a great work by my assignment help, i always come here for my assignment work, they are the best and the most trusted company I have ever encountered, so thanks heaps for your help.
Australia
Awesome work by the expert, was really happy with my results as well, was perfectly done as i wanted it to be, thanks again for a great help.
Australia
Assignemnt was good. And really helpful that they could do it in last minute. Thanks a lot to the company
Australia