Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 employees 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 employees 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: answer with python

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

Developing and delivering learning that is integrated with the job.

Answered: 1 week ago

Question

Use of assessments to determine trainees learning styles.

Answered: 1 week ago