Question
ZEN ICT Solutions Sdn Bhd wants to create a system that will calculate the weekly pay for its employees, based on the category and rate
ZEN ICT Solutions Sdn Bhd wants to create a system that will calculate the weekly pay for its employees, based on the category and rate given in the table below. The employees in the category E1, E2 and E3 are paid standard rate for the first 40 hours, followed by 1.5 of the standard rate for overtime pay. There is no overtime pay for M1 and M2 categories. The total work hours for each employee cannot exceed 60 hours. The system should request for the employees name, their IC number, the number of hours worked, and their category. The system should display all related information about the employee including the gross pay, overtime pay and the net pay. Everytime, after the system display all the details for an user, the system must ask user whether to continue the session or not. Then, There should be an error message as below if the user enters more than 60 hours. I
NPUT NOT VALID!!
Continue (Y/N)?:
Category Standard Rate: Pay/Hour
E1 RM 100
E2 RM 120
E3 RM 150
M1 RM 200
M2 RM 250
i. Analyse the problem to identify required items to be used in designing algorithm
ii. Write an algorithm in a pseudo code i
ii. Draw a flowchart based on the pseudo code
iv. Produce a tracing table to show the projected values
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