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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started