Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Employee Gross Pay System ABB Global aims to find out the gross salary paid to its employees on monthly basis through an algorithm. Each employee

Employee Gross Pay System
ABB Global aims to find out the gross salary paid to its employees on monthly basis through an algorithm. Each employee record in the employee file holds the employee number, name, hours worked, and the rate of pay. The rate of pay varies per employee. The output for each employee includes the employee number, name, hours worked, rate of pay, and the gross pay. A 15% tax must be added to each employee's salary in compliance with South Africa Revenue Service (SARS).
Processing continues until an employee number of 00 is read.
The hours worked and the gross pay for each employee must be accumulated, and these totals printed after the end-of-file condition has been met.
3.1 Draw a program flowchart that will calculate the pay (salary) for each employee, applicable tax, total salary paid and average salary of the employees in the organization. Print the total hours worked, total salary and average salary paid by ABB Global to its employees on a monthly report.
(10 Marks)
3.2 Write an algorithm in form of pseudocode for the flowchart implementation created above.
(10 Marks)
3.3 Construct a trace table for the above scenario, using the following data as input:
\table[[Employee Number,Name,Hours Worked,Rate of Pay],[101,Johan,184,R20],[102,Sithole,200,R25],[103,Kamogelo,222,R32],[00,,,]]
(10 Marks)
End of Question 3
Galaxy Z Flip4
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

What is the preferred personality?

Answered: 1 week ago