Question: QUESTION 3 The Salary Strategy A company requires a program that will read an employees TRN Number, pay rate and the number of hours worked

QUESTION 3 The Salary Strategy A company requires a program that will read an employees TRN Number, pay rate and the number of hours worked for the week. The program should then validate the pay rate and the hours worked and if valid, it should then compute and display the employees weekly pay and TRN Number. An appropriate error message is be displayed if the data entered is invalid. Each employee is constrained to work a maximum of 60 hours each week with the maximum hourly rate being $1500 per hour and the minimum hourly rate being $650 per hour. Also, employees cannot work hours which are less than zero. Your solution should continue to run until a TRN number of zero or less is entered and should make use of the concept of modularization. Write the solution using PSEUDOCODE. Create modules that will do the following: A. read the employee input data B. validate the employee data C. calculate the employee pay D. print the employee pay Create a main program that will solve the problem by making use of the modules which have been created.

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!