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).

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question

METHODOLOGY

  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 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
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT