Question: Step 3: Complete the pseudocode by writing the missing lines. Note that we are using a global constant for the commission rate. // global constant
Step 3: Complete the pseudocode by writing the missing lines. Note that we are using a global constant for the commission rate. // global constant for the commission rate Constant Real COMMISSION_RATE = .10 Module main() //Declare local variables Display "Input the sales amount for the month." //Input the sales amount from the user //Call the function to calculate and return the //amount of the commission to be paid //Display the amount of the commission for the user End Module //this function accepts the sales amount as a parameter, //calculates the amount of the commission that must be paid, //and returns the amount of the commission Function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
