Question: transit program, $5.00 is deducted from their weekly check. If the em- ployee does neither, nothing additional is deducted from their weekly check. Your function

 transit program, $5.00 is deducted from their weekly check. If the
em- ployee does neither, nothing additional is deducted from their weekly check.

transit program, $5.00 is deducted from their weekly check. If the em- ployee does neither, nothing additional is deducted from their weekly check. Your function should return the amount of the employee's de- duction; refer to the sample run that follows for example prompts and calculations Problem Statement 1. Write a program that inputs user data as in the sample run below: 2. Enter employee's first name: Fred 4. Enter number of hours worked: 38 6.Does the employee use the parking garage (Y/N)? t Add a counter that keeps track the number of employees processed Display this count when the user exits the program. Add an accumulator that keeps a running sum of the total gross pay of the employees processed. Display this sum when the user exits the program. 7. Please type' for yes or 'N' for no 9. Does the employee use the parking garage (Y/N)? 10 Sample Run Reg. Ovt. Hourly Gross The sample run that follows shows exactly how your program should be displayed on the screen. Input supplied by the user appears in under- Hours Hours Rate Pay Taxes De duct Pay Enter esployee's first nase: Fred Enter esployee's last name: Elintstone Enter number of hours worked: 38 14. F1intstone, Fred 38.00 .0 12.5 475.00 142-50 0.00 322.58 16. Process another esployee (Y/N)? 17. Please type "Y' for yes or "N" for no 19. Process another esployee (V/N)? Y 21 Enter esployee's first name: Barney Does the loyee use the parking garage (Y/N)? Please type "V" for yes or 'N" for no 22. Enter employee's last names Rubble Does the esployee use the parking garage (V/N)?X Include a feature that asks the user if the uses the parking garage or participates in the transit program and has a function that cal- culates the a If the e uses the parking participate in the transit program if the employee participates in the

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!