Ajax Manufacturing needs a program for employees to calculate gross pay themselves in order to have an idea of what their gross pay (before taxes will be). Ajax pays a worker working overtime at the rate of 1.5 times the regular pay rate for the hours over 40. Using the following as a starting point, create a Raptor flowchart that will get the user's hours worked and pay rate and output their base pay, overtime pay (should show 0 if there are no overtime hours) and gross pay. Do not add any variables; use the variables already established in the statements you have to add.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter3: Input/output
Section: Chapter Questions
Problem 4PE: 4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and...
icon
Related questions
Question
100%
Ajax Manufacturing needs a program for employees to calculate gross pay themselves in order to
have an idea of what their gross pay (before taxes will be). Ajax pays a worker working overtime
at the rate of 1.5 times the regular pay rate for the hours over 40. Using the following as a
starting point, create a Raptor flowchart that will get the user's hours worked and pay rate and
output their base pay, overtime pay (should show 0 if there are no overtime hours) and gross pay.
Do not add any variables; use the variables already established in the statements you have to add.
Start
"Enter hours worked: "
GET hours
"Enter pay rate: "
GET hourlyPay
Put in the necessary calculations for both branches
hours 40
PUT "Hours worked:
hours
PUT "Overtime hours:
overtimeHours
PUT "Your hourly pay rate:
"+ hourlyPay
PUT "Base Pay:
basePay
"1
PUT "Your overtime pay is '
+ overtimePay
PUT "Your gross pay will be
+
grossPay
End
Yes.
Transcribed Image Text:Ajax Manufacturing needs a program for employees to calculate gross pay themselves in order to have an idea of what their gross pay (before taxes will be). Ajax pays a worker working overtime at the rate of 1.5 times the regular pay rate for the hours over 40. Using the following as a starting point, create a Raptor flowchart that will get the user's hours worked and pay rate and output their base pay, overtime pay (should show 0 if there are no overtime hours) and gross pay. Do not add any variables; use the variables already established in the statements you have to add. Start "Enter hours worked: " GET hours "Enter pay rate: " GET hourlyPay Put in the necessary calculations for both branches hours 40 PUT "Hours worked: hours PUT "Overtime hours: overtimeHours PUT "Your hourly pay rate: "+ hourlyPay PUT "Base Pay: basePay "1 PUT "Your overtime pay is ' + overtimePay PUT "Your gross pay will be + grossPay End Yes.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage