Question: Assume that the pseudocode below for each question is a separate working program in your organization and that it needs modifications as described in the
Assume that the pseudocode below for each question is a separate working program in your organization and that it needs modifications as described in the comments lines that begin with two slashes at the beginning of the code. Your job is to alter the pseudocode to meet the new specifications as noted above. Please follow directions as specified in the homework assignment instructions file. NOTE: If a function has no changes to be made to it then it will be in blue font.
This program prompts a user for name, hours worked, and hourly pay rate
then computes gross pay and displays the name and gross pay. Modify
the program to use four functions named getName getHours
getPayRate and computeGrosshours payRatethat return the name,
hours, payrate, and gross respectively. You will need to create these four functions.
start
Declarations
string name
num hours
num payRate
num gross
output "Input name
input name
output "Input hours worked
input hours
output "Input pay rate
input payRate
gross hours payRate
output name, earned $ gross
stop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
