e employee worked (up to 40 hours) times the hourly rate. The program is to compute an overtime pay if the employee worked more than 40 hours. All hours beyond 40 should be multiplied to 1.5 for the OT differential pay The program should output the worker’s regular pay, overtime time, and the gross pay (sum of the regular pay and overtime pay).
e employee worked (up to 40 hours) times the hourly rate. The program is to compute an overtime pay if the employee worked more than 40 hours. All hours beyond 40 should be multiplied to 1.5 for the OT differential pay The program should output the worker’s regular pay, overtime time, and the gross pay (sum of the regular pay and overtime pay).
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
METHODOLOGY
- A bookstore owner wants you to write a
program that calculates the gross pay of an employee. - The input to the program is the number of hours the employee works in one week and the employee’s hourly pay rate.
- The program is to calculate the employee’s gross pay including the possibility of overtime pay.
- Regular pay is the number of hours the employee worked (up to 40 hours) times the hourly rate.
- The program is to compute an overtime pay if the employee worked more than 40 hours.
- All hours beyond 40 should be multiplied to 1.5 for the OT differential pay
- The program should output the worker’s regular pay, overtime time, and the gross pay (sum of the regular pay and overtime pay).
- Create an IPO and flowchart
![O Ho
G ser
Ma G dev G she
Spc G bes G 15
E ran
G ma
G vita
G ma
? C+ G co
G set
9
Ne w C+
G pic +
cor
A dlsl.instructure.com/courses/19186/assignments/221288?module_item_id=580471
A
E Apps
E Reading list
D
METHODOLOGY
DE LA
SALLE
LIPA
1. A bookstore owner wants you to write a program that calculates the gross pay of an employee.
2. The input to the program is the number of hours the employee works in one week and the employee's
hourly pay rate.
3. The program is to calculate the employee's gross pay including the possibility of overtime pay.
4. Regular pay is the number of hours the employee worked (up to 40 hours) times the hourly rate.
5. The program is to compute an overtime pay if the employee worked more than 40 hours.
6. All hours beyond 40 should be multiplied to 1.5 for the OT differential pay
7. The program should output the worker's regular pay, overtime time, and the gross pay (sum of the regular
pay and overtime pay).
8. Create an IPO, flowchart and write a program of the given scenario.
SCREEN LAYOUT / DESIGN
intal screen when
Employee No: 000001778
program runs. Input values for No of HRS Worked for the Week: 40
Employee No and the next 3
variables are all user inguts No of HRS of OT work for the week: 10
Hourly Rate (Php): 80.00
Employee No: 000001778
Regular Pay (PhP): 3200.00
OT Pay (PhP): 1200.00
Gross Pay (PhP): 4400.00
(2) Regular, O and Gross
Poy should automatically be
computed. User will be asked
to Try Another, if Y back to
Try Another [Y/N]: Y
Initial screen else the
prowam exits
ENG
4:59 PM
DEV
O Type here to search
IN
10/10/2021
POP](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa8f0f827-ed01-4468-9777-ba5313856116%2F17819de6-29aa-4f02-97ff-95907e96b772%2F9uy4na_processed.png&w=3840&q=75)
Transcribed Image Text:O Ho
G ser
Ma G dev G she
Spc G bes G 15
E ran
G ma
G vita
G ma
? C+ G co
G set
9
Ne w C+
G pic +
cor
A dlsl.instructure.com/courses/19186/assignments/221288?module_item_id=580471
A
E Apps
E Reading list
D
METHODOLOGY
DE LA
SALLE
LIPA
1. A bookstore owner wants you to write a program that calculates the gross pay of an employee.
2. The input to the program is the number of hours the employee works in one week and the employee's
hourly pay rate.
3. The program is to calculate the employee's gross pay including the possibility of overtime pay.
4. Regular pay is the number of hours the employee worked (up to 40 hours) times the hourly rate.
5. The program is to compute an overtime pay if the employee worked more than 40 hours.
6. All hours beyond 40 should be multiplied to 1.5 for the OT differential pay
7. The program should output the worker's regular pay, overtime time, and the gross pay (sum of the regular
pay and overtime pay).
8. Create an IPO, flowchart and write a program of the given scenario.
SCREEN LAYOUT / DESIGN
intal screen when
Employee No: 000001778
program runs. Input values for No of HRS Worked for the Week: 40
Employee No and the next 3
variables are all user inguts No of HRS of OT work for the week: 10
Hourly Rate (Php): 80.00
Employee No: 000001778
Regular Pay (PhP): 3200.00
OT Pay (PhP): 1200.00
Gross Pay (PhP): 4400.00
(2) Regular, O and Gross
Poy should automatically be
computed. User will be asked
to Try Another, if Y back to
Try Another [Y/N]: Y
Initial screen else the
prowam exits
ENG
4:59 PM
DEV
O Type here to search
IN
10/10/2021
POP
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education