Question: Python Language !!!!PAC (20 points)*** !!!! Algorithms (20 points)*** Sample Output: =-=-=-=-=-=-=-=-=-= Rec Cnt: 1 name Kelly ID 1 payType H payRate 12.0 hours 32

Python Language

!!!!PAC (20 points)*** !!!!

Algorithms (20 points)***

Sample Output:

=-=-=-=-=-=-=-=-=-=

Rec Cnt: 1

name Kelly

ID 1

payType H

payRate 12.0

hours 32

Gross Pay >> 384.0

=-=-=-=-=-=-=-=-=-=

=-=-=-=-=-=-=-=-=-=

Rec Cnt: 2

name Jason

ID 1

payType S

payRate 700.0

hours 40

Gross Pay >> 700.0

=-=-=-=-=-=-=-=-=-=

=-=-=-=-=-=-=-=-=-=

Rec Cnt: 3

name Alice

ID 1

payType S

payRate 720.0

hours 40

Gross Pay >> 720.0

=-=-=-=-=-=-=-=-=-=

=-=-=-=-=-=-=-=-=-=

Rec Cnt: 4

name Debra

ID 1

payType H

payRate 13.0

hours 19

Gross Pay >> 247.0

=-=-=-=-=-=-=-=-=-=

=-=-=-=-=-=-=-=-=-=

Rec Cnt: 5

name Gordon

ID 1

payType H

payRate 12.0

hours 23

Gross Pay >> 276.0

=-=-=-=-=-=-=-=-=-=

Python Language !!!!PAC (20 points)*** !!!! Algorithms (20 points)*** Sample Output: =-=-=-=-=-=-=-=-=-=

CSV Problem - (20 points) name ID number pay type pay_rate hours_worked The fields are separated by a tab \t delimiter, and they are described as follows: 1. name is a string value 2. ID_number is a numeric integer value 3. pay_type is a character, either H for hourly, or S for salary 4. pay_rate either holds the hourly rate for an hourly pay_type, or it holds the total salary for a salary pay_type. 5. hours_worked holds the total number of work hours for the employee The employee grss pay is computed as follows: If employee pay_type is hourly gross pay = pay_rate * hours_worked Else if employee pay_type is salary based gross pay = pay_rate

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!