###Python Program-related question. So need the answer in python expressions. The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s ID number, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourly rate. Net pay is Gross minus deductions. Assume that deductions are made up of income tax (at 10.5% of gross if the gross exceeds $600.00) and a $25 parking charge. The output should look like this: Program 4 ID Number: -- Pay Rate: -- Regular Hours: -- Overtime Hours: -- Total Hours: -- Regular Pay: -- Overtime Pay: -- Gross Pay: -- Deductions: -- Net Pay: -- Run your program three times with the data below and copy and paste the outputs to a file. Run 1                        Run 2                        Run 3 ID Number: 1001      ID Number: 2002     ID Number: 3003 Hourly rate: 10.00     Hourly rate: 35.50    Hourly rate: 10.50 Hours worked: 35     Hours worked: 40    Hours worked: 50

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

COSC 1336 –Programming Fundamentals I
Program 4 – Decision Structures

###Python Program-related question. So need the answer in python expressions.

The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s ID number, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourly rate.
Net pay is Gross minus deductions. Assume that deductions are made up of income tax (at 10.5% of gross if the gross exceeds $600.00) and a $25 parking charge.


The output should look like this:
Program 4
ID Number: --
Pay Rate: --
Regular Hours: --
Overtime Hours: --
Total Hours: --
Regular Pay: --
Overtime Pay: --
Gross Pay: --
Deductions: --
Net Pay: --

Run your program three times with the data below and copy and paste the outputs to a file.


Run 1                        Run 2                        Run 3
ID Number: 1001      ID Number: 2002     ID Number: 3003
Hourly rate: 10.00     Hourly rate: 35.50    Hourly rate: 10.50
Hours worked: 35     Hours worked: 40    Hours worked: 50

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Introduction to Coding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr