Question: Create a function called grossPay that has two input parameters, one for pay rate and one for hours. The function calculates and returns gross pay,
Create a function called grossPay that has two input parameters, one for pay rate and one for hours. The function calculates and returns gross pay, which is pay rate times hours. Then create main. In main, prompt the user to enter a pay rate; verify the pay rate is in the range of $ through $ After appropriate pay rate is entered, prompt the user to enter hours; verify the hours are in the range of through After appropriate hours are entered, call the function grossPay to get gross pay; finally display gross pay. Can you show me what it would look like written in pseudo code in NotePad and Flowgorithm?
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
