Question: Construct a solution algorithm for the following programming problems. Design an algorithm using a RAPTOR flowchart that will read the same file as in problem

Construct a solution algorithm for the following programming problems. Design an algorithm using a RAPTOR flowchart that will read the same file as in problem 4, and produce a weekly report of the net earnings for those employees. Net earnings are gross earnings minus deductions. Each employee has two deductions from their gross earnings each week: tax payable (15% of gross earnings) and medical levy (1% of gross earnings). Your report is to print the gross earnings, tax payable, medical levy, and net earnings for each employee. At the end of the report, print the total gross earnings, total tax, total medical levy, and total net earnings

(Question 4 states:(this shows what file is used for problem 5) Design an algorithm that will read a file of employee records and produce a weekly report of gross earnings for those employees. Gross earnings are earnings before tax and other deductions have been deducted. Each input record contains the employee number, the hours worked and the hourly rate of pay. Each employee's gross pay is calculated as the product of the hours worked and the rate of pay. At the end of the report, print the total gross earnings for that week.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!