Question: Visual Logic Assignment Four This program enhances payroll.vis from Assignment Three. You can save effort by loading it and saving another console version as overtime.vis.

 Visual Logic Assignment Four This program enhances payroll.vis from Assignment Three.

Visual Logic Assignment Four This program enhances payroll.vis from Assignment Three. You can save effort by loading it and saving another console version as overtime.vis. In the new version .Delete the Input for the user's name (to simplify things) Add Input that asks if the employer pays overtime at "time and a half" for hours over 40 in one week (42 hours 2 hours of OT, which earns 3 hours of pay) Add an IF branch to determine if OT pay applies based on this Input Add an IF branch to determine the OT pay (if any is deserved ) . .Add Output(s) showing the total pay (regular pay and OT, if any and applicable) Here are some possible runs for the program what is your hourly rate of pay? 10 How many hours did you work? 35 Your weekly pay is $350.00 wour S In the above run, note that OT is not an issue since the weekly hours are not over 40. what is your hourly rate of pay? 10 How many hours did you work? 44 Does the employer pay o at time and a half? CY or N) "N" Your weekly pay is $440.00 In the above run, since hours exceed 40, the prompt about the employer's OT policy appears but the employer does not pay "Time and a half", so no OT is paid 2 what is your hourly rate of pay? 10 How many hours did you work? 44 Does the employer pay OT at time and a half? (Y or N) Y" Your weekly pay is $460.00

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!